|
From: Tom H. <th...@cy...> - 2004-10-12 18:05:22
|
In message <20041012172514.GA11829@malin>
kha...@he... wrote:
> I get the following error from valgrind:
>
> ==13322== Valgrind detected that your program requires
> ==13322== the following unimplemented functionality:
> ==13322== clone(): not supported by Valgrind.
> We do now support programs linked against
> libpthread.so, though. Re-run with -v and ensure that
> you are picking up Valgrind's implementation of libpthread.so.
>
> Rerunning with -v shows that I am indeed not getting valgrind's
> libpthread, but /lib/tls/libpthread-0.61.so. How do I get it to use
> the correct library?
It should use it automatically. One thing that might cause a problem
is having an rpath set in your executable - what does "objdump -p" say
about your program?
> I have installed valgrind in a nonstandard directory (with the
> --prefix configure switch); could this be the problem?
So long as you give the correct prefix when you configure and build
valgrind you should be fine. If you install somewhere other than where
you told valgrind at configure time then you will break things.
Tom
--
Tom Hughes (th...@cy...)
Software Engineer, Cyberscience Corporation
http://www.cyberscience.com/
|