dlopen problems
Ulrich Drepper
drepper@cygnus.com
Fri Jul 16 07:53:00 GMT 1999
Cristian Gafton <gafton@redhat.com> writes:
> That function from the module depends on the foo() function from
> the library it is linked against (lib2). But instead of calling the
> lib2.so:foo() we end up calling the lib1:foo() from the module, because
> that is already resolved and ready to use.
That's exactly the right behaviour. If you want to prefer local
resolution you have to set DT_SYMBOLIC.
--
---------------. drepper at gnu.org ,-. 1325 Chesapeake Terrace
Ulrich Drepper \ ,-------------------' \ Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com `------------------------
More information about the Libc-hacker
mailing list