On Thu, Jul 31, 2003 at 01:14:33AM +0100, Philip Blundell wrote: > On Sun, 2003-07-27 at 02:41, Gianluigi Tiesi wrote: > > This makes impossible to statically link a program using > > gethostname/byname etc. since it uses dlopen and > > need .so files, ld-so and libc.so. > > Doesn't --enable-static-nss actually disable the normal NSS mechanism? > This switch is really just a hack to allow you to complete a libc build > before you have dynamic linking operational. I would be reluctant to > turn it on in production.
The static nss libraries are also documented not to work in a number of cases, if I remember right. The glibc maintainers just really, really want you to link dynamically. -- Daniel Jacobowitz MontaVista Software Debian GNU/Linux Developer

