Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 08 Jun 2005 21:51:07 +0200
From:      des@des.no (=?iso-8859-1?q?Dag-Erling_Sm=F8rgrav?=)
To:        Julian Elischer <julian@elischer.org>
Cc:        arch@freebsd.org
Subject:   Re: Retiring static libpam support
Message-ID:  <86ll5ksk44.fsf@xps.des.no>
In-Reply-To: <42A73773.1040508@elischer.org> (Julian Elischer's message of "Wed, 08 Jun 2005 11:22:43 -0700")
References:  <864qc9mgqc.fsf@xps.des.no> <42A73773.1040508@elischer.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer <julian@elischer.org> writes:
> I gues it would be ok if the basic binary is static and the PAM
> modules are loaded using dlopen.

You can't load dynamic objects from a static binary.  It doesn't have
a working dlopen() (since dlopen() is implemented by the run-time
loader), and even if it did, there is no relocation table there to
resolve dependencies in the dynamic object.

DES
--=20
Dag-Erling Sm=F8rgrav - des@des.no




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86ll5ksk44.fsf>