valgrind error on F9 (x86_64)

Phil Meyer pmeyer at themeyerfarm.com
Mon Jul 7 21:59:47 UTC 2008


Globe Trotter wrote:
> Hi,
>
> So, I have been unable to get valgrind to do anything.
>
> I install valgrind using yum and valgrind.x86_64 1:3.3.0-3 is installed.
>
> Next I run 
>
> % valgrind ./testprogram (where testprogram is an executable) 
>
> valgrind: failed to start tool 'memcheck' for platform 'x86-linux': No such file or directory
>
> I have no clue what is going on here. So I 
>
> % locate memcheck
> /usr/lib64/valgrind/amd64-linux/memcheck
> /usr/lib64/valgrind/amd64-linux/vgpreload_memcheck.so
>
> Strange: my platform is an Intel (this is a Thinkpad T61), so why this amd64-linux.
>
> In any case, can someone please help me about my error, if any?
>   


Multi-lib issues.

You are trying to evaluate a 32 bit binary on a 64 bit version of 
memcheck -- no worky.

You might try installing valgrind.i386 as well, but I am not certain if 
valgrind is multi-lib capable, and I don't have a x86_64 system 
available at this moment.

Good luck!

PS: 64bitness on x86 was developed by AMD and EMULATED/CLONED by intel 
(EM64T).
Today, AMD64 is roughly equivalent to EM64T, or vice versa.

see: http://en.wikipedia.org/wiki/X86-64




More information about the users mailing list