当我尝试在virtualbox程序上使用 valgrind-3.9.0 时,我已经安装了,但是当我试图在一个C 程序上使用它时,我遇到了这个错误:==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 上面-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

我对Linux和Valgrind很陌生,但是看起来我需要一个特定的软件包。 这里错误不报告在我的发行版( Slitaz ) 上标记了软件包的名称之后。 Slitaz没有to命令,也没有安装它的( 如果可能的话) 。

我尝试使用超级用户特权,命令"。tazpkg安装"与任何可以能的libc6-dbg和tmodel组合使用。 我已经在网上搜索了一个解决方案没有任何结果。 感谢你的时间和注意

Logo

一站式 AI 云服务平台

更多推荐