$valgrind -v ls
gives:
==1553== Memcheck, a memory error detector
==1553== Copyright (C) 2002-2022, and GNU GPL'd, by Julian Seward et al.
==1553== Using Valgrind-3.19.0-8d3c8034b8-20220411 and LibVEX; rerun with -h for copyright info
==1553== Command: ls
==1553==
--1553-- Valgrind options:
--1553-- -v
--1553-- Contents of /proc/version:
--1553-- Linux version 5.10.136-1-MANJARO (builduser@fv-az39-334) (gcc (GCC) 12.1.1 20220730, GNU ld (GNU Binutils) 2.39) #1 SMP PREEMPT Thu Aug 11 13:14:01 UTC 2022
--1553--
--1553-- Arch and hwcaps: AMD64, LittleEndian, amd64-cx16-sse3-ssse3
--1553-- Page sizes: currently 4096, max supported 4096
--1553-- Valgrind library directory: /usr/lib/valgrind
--1553-- Reading syms from /usr/bin/ls
==1553== Downloading debug info for /usr/bin/ls...
==1553== Server query failed: No such file or directory
--1553-- object doesn't have a symbol table
--1553-- Reading syms from /usr/lib/ld-linux-x86-64.so.2
==1553== Downloading debug info for /usr/lib/ld-linux-x86-64.so.2...
==1553== Server query failed: No such file or directory
--1553-- object doesn't have a symbol table
valgrind: Fatal error at startup: a function redirection
valgrind: which is mandatory for this platform-tool combination
valgrind: cannot be set up. Details of the redirection are:
valgrind:
valgrind: A must-be-redirected function
valgrind: whose name matches the pattern: strlen
valgrind: in an object with soname matching: ld-linux-x86-64.so.2
valgrind: was not found whilst processing
valgrind: symbols from the object with soname: ld-linux-x86-64.so.2
valgrind:
valgrind: Possible fixes: (1, short term): install glibc's debuginfo
valgrind: package on this machine. (2, longer term): ask the packagers
valgrind: for your Linux distribution to please in future ship a non-
valgrind: stripped ld.so (or whatever the dynamic linker .so is called)
valgrind: that exports the above-named function using the standard
valgrind: calling conventions for this platform. The package you need
valgrind: to install for fix (1) is called
valgrind:
valgrind: On Debian, Ubuntu: libc6-dbg
valgrind: On SuSE, openSuSE, Fedora, RHEL: glibc-debuginfo
valgrind:
valgrind: Note that if you are debugging a 32 bit process on a
valgrind: 64 bit system, you will need a corresponding 32 bit debuginfo
valgrind: package (e.g. libc6-dbg:i386).
valgrind:
valgrind: Cannot continue -- exiting now. Sorry.