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

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


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

Re: dlopen problems


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   `------------------------

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