Retiring static libpam support

Julian Elischer julian at elischer.org
Mon Jun 13 17:34:11 GMT 2005



Doug Rabson wrote:

>
> On 13 Jun 2005, at 17:49, Dag-Erling Smørgrav wrote:
>
>> Doug Rabson <dfr at nlsystems.com> writes:
>>
>>> You can link statically to some libraries and dynamically to others
>>> - that might work quite well. You would probably end up linking
>>> dynamically to libc otherwise you might get two copies of libc when
>>> you load a pam module.
>>
>>
>> That won't help.  You'll still end up with two copies of *libpam*.
>
>
> It depends exactly what Julian needs to link with statically - it 
> wasn't clear. When I build my own software 'statically' I tend to 
> still link to the system libraries dynamically.


We tend to try build fully static binaries as that reduces the number of 
support
calls we get due to mismatched libraries.
the answer may be to staticaly link 90%.. i.e everything except libc
or something similar.






More information about the freebsd-arch mailing list