This is the mail archive of the
libc-hacker@sourceware.cygnus.com
mailing list for the glibc project.
Re: RTLD_NEXT plus LD_LIBRARY_PATH plus LD_PRELOAD doesn't work..?
- To: Ulrich Drepper <drepper@cygnus.com>
- Subject: Re: RTLD_NEXT plus LD_LIBRARY_PATH plus LD_PRELOAD doesn't work..?
- From: "Matthias Urlichs" <smurf@noris.de>
- Date: Mon, 18 May 1998 20:48:18 +0200
- Cc: libc-hacker@cygnus.com
- References: <19980517212652.12737@noris.de> <r23ee7zdrt.fsf@happy.cygnus.com>
Hi,
Ulrich Drepper:
>
> Could you provide a little test case showing this problem? And/or
> running the program with LD_DEBUG=bindings.
Found it. Thanks.
The problem was a stupid interaction between my overridden __open (which is
a weak symbol) and libpthreads (which uses __libc_open directly).
I've fixed it by overriding __libc_open instead.
--
Matthias Urlichs
noris network GmbH