...but now
Cristian Gafton
gafton@redhat.com
Sat Jan 6 18:06:00 GMT 2001
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
More information about the Libc-hacker
mailing list