[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: fileutils static
From: |
Russ Allbery |
Subject: |
Re: fileutils static |
Date: |
Thu, 25 Apr 2002 11:13:23 -0700 |
User-agent: |
Gnus/5.090005 (Oort Gnus v0.05) XEmacs/21.4 (Common Lisp, sparc-sun-solaris2.6) |
Alfred M Szmidt <address@hidden> writes:
> * Russ Allbery writes:
>> It's not possible to build static on Solaris any binary that calls
>> getpwnam or any other function that goes through the nsswitch
>> mechanism.
> Are you sure?
Yup.
> Because on GNU and on GNU/Linux (actually, anything that uses GNU libc)
> platforms you can make the whole thing go away if you make a decent
> /etc/nsswitch.conf file.
Solaris doesn't work the same way. I fought with that a good bit in
trying to make a static version of tripwire and finally just took the
calls to getpwuid out of the code.
--
Russ Allbery (address@hidden) <http://www.eyrie.org/~eagle/>