This is the mail archive of the libc-hacker@sources.redhat.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: ...but now


On 6 Jan 2001, Ulrich Drepper wrote:

> You mean nss_ldap?  This might work.  The only reason we have some

Yes... damn typo.

> support for dlopen in static apps is because of NSS.  But there is no
> guarantee.  There are simply too many things which can go wrong.  And
> this cannot be changed.

Atually, it doesn't because what is happening is you have  a static binary
that will dlopen nss_ldap which in turn is dynamically linked against the
LDAP libs which will cause a segfault.

So
    static -> dlopen(foo) -> works
but
    static -> dlopen(foo) -> dlopen(bar) -> SEGV

Which means that the NSS modules can not be linked against additional
shared libs.

Cristian
--
----------------------------------------------------------------------
Cristian Gafton     --     gafton@redhat.com      --     Red Hat, Inc.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  "There are two kinds of people who never amount to much: those who 
   cannot do what they are told, and those who can do nothing else."
        --Cyrus Curtis


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