This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
static binaries and NSS
- From: Thorsten Kukuk <kukuk at suse dot de>
- To: libc-alpha at sources dot redhat dot com
- Date: Tue, 10 Jun 2003 10:23:50 +0200
- Subject: static binaries and NSS
- Organization: SuSE Linux AG, Nuernberg, Germany
Hi,
I get more and more complains from ISVs, who linked their binaries
static against glibc, that the binaries stop working with a glibc
update. The reason for linking the binaries static is always, that
they think in this way they are independend of the installed glibc.
I think it is time that we add a linker warning to getpwnam and
friends, that static linking and using this functions, which calls
NSS, is a bad idea. Or should we go one step further and remove
this functions from the static libc like Solaris did?
Comments?
Thorsten
--
Thorsten Kukuk http://www.suse.de/~kukuk/ kukuk@suse.de
SuSE Linux AG Deutschherrnstr. 15-19 D-90429 Nuernberg
--------------------------------------------------------------------
Key fingerprint = A368 676B 5E1B 3E46 CFCE 2D97 F8FD 4E23 56C6 FB4B