From: Olly B. <ol...@su...> - 2003-06-02 16:56:25
|
On Mon, Jun 02, 2003 at 09:39:03AM -0700, Abhijeet Bisain wrote: > relocation error: /lib/librt.so.1: symbol __pthread_clock_settime, version > GLIBC_VERSION not defined in file libpthread.so.0 with the link time > reference. > > I am running this on redhat 7.3 and the code makes a call to > lock_gettime and links with librt. I read in the FAQ that the valgrind > has its own implementation of pthreads and so is it possible that this > symbol is not defined in valgrind's libpthread? It's a symbol which is meant to be private to the pthread implementation, but unfortunately librt uses it. Did you fully read the answer to FAQ Q13? It has a suggestion for a way to fix this problem, and notes it worked for at least one person. If it works for other people too, it might be worth considering for a future valgrind release, so it would be useful to try it... Cheers, Olly |