I've installed valgrind-3.9.0 on linux Slitaz-2.6.37 (32bit) booted on virtualbox but when i try to use it on a C program (any a.out file), i encounter this error:
==29012== Memcheck, a memory error detector
==29012== Copyright (C) 2002-2013, and GNU GPL'd, by Julian Sewrd
==29012== Using Valgrnd-3.9.0 and LibVEX; rerun with -h for copyright info
==29012== Command: a.out
==29012==
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.so.2
valgrind: was not found whilst processing
valgrind: symbols from the object with soname: ld-linux.so.2
valgrind:
valgrind: Possible fixes: (1, short term): install glibc's debuginfo
valgrind: package on this machine. (2, long 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 standards
valgrind: calling conventions for this platform. The package you need
valgrind: to intall for fix (1) is called
valgrind:
valgrind: On Debian, Ubuntu: libc6-dbg
valgrind: On SuSe, openSuSe, Fedora, RHEL: glibc-debuginfo
I'm fairly new to Linux and Valgrind but it seems that i need a specific package. This error does not report after which name the package is labeled on my distro (Slitaz). Slitaz does not have the apt-get command nor it's in my intensions to install it (if possible).
I tried to use, with superuser privileges, the command "tazpkg get-install " with any possible combination of libc6-dbg and glibc... I' ve already searched for a solution on the web without any result. Thanks for your time and attention