Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I have an Ubuntu 13.04 x86_64 kernel 3.8.0-31-generic If I try to use valgrind on any binary it returns:

==10571== Memcheck, a memory error detector
==10571== Copyright (C) 2002-2012, and GNU GPL'd, by Julian Seward et al.
==10571== Using Valgrind-3.8.1 and LibVEX; rerun with -h for copyright info
==10571== Command: test.out

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:  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:  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:    On Debian, Ubuntu:                 libc6-dbg
valgrind:    On SuSE, openSuSE, Fedora, RHEL:   glibc-debuginfo
valgrind:  Cannot continue -- exiting now.  Sorry.

Although this question has been addressed in

The proposed solution

sudo apt-get install libc6-dbg

does not work for me, no way.

ii  libc6-dbg:amd64                           2.17-0ubuntu5                              amd64        Embedded GNU C Library: detached debugging symbols
ii  valgrind                                  1:3.8.1-1ubuntu5                           amd64        instrumentation framework for building dynamic analysis tools
ii  valgrind-dbg                              1:3.8.1-1ubuntu5                           amd64        instrumentation framework for building dynamic analysis tools (debug)

Any idea? Thanks

share|improve this question
No one is using valgrind in 13.04 64bit?? –  Alessandro Russo Oct 24 '13 at 12:30

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.