|
From: Karl <kh...@tr...> - 2004-10-13 10:56:44
|
On 2004-10-13 11:22:24 +0100, Tom Hughes wrote:
> That shouldn't work - the i686 libpthread will use clone just as
> much as the tls one will. You really need the valgrind one.
Then I guess that the messages I'm seeing about
/lib/i686/libpthread-0.10.so must be mistaken, or something. :-P
> I don't understand where that RPATH setting in the binary is coming
> from though if you don't have those directories in LD_RUN_PATH and
> aren't using linker command line options to set it.
They are in my LD_RUN_PATH . . . or were -- see my last post. I just
figured out that this is the culprit (by adding unique nonexisting
directories to each of LD_RUN_PATH, LD_LIBRARY_PATH, and LIBRARY_PATH,
and seeing which showed up in RPATH).
It seems that the bug here is my reckless trial-and-error use of
linker environment variables. I have yet to find a decent tutorial for
these . . . is there a decent Linking for Dummies somewhere out there?
--
Karl Hasselström, kh...@tr...
www.treskal.com/kalle
|