This is the mail archive of the libc-hacker@sourceware.cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: RTLD_NEXT plus LD_LIBRARY_PATH plus LD_PRELOAD doesn't work..?


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]