Axp-List Archive
RE: SOLVED (sort of): Problems when compiling -static

Subject: RE: SOLVED (sort of): Problems when compiling -static
From: Maciej W. Rozycki (macro@ds2.pg.gda.pl)
Date: Mon Jul 3 07:48:19 2000


On Sun, 2 Jul 2000, Greg Lindahl wrote:

> That's pretty evil. glibc calls dlopen() directly? I guess it's no surprise
> that "file" and "ldd" don't know that dlopen() gets called...

 You may configure glibc so that there are also static libnss_* modules.
But then you can no longer choose services via nsswitch.conf for
statically linked binaries and also you must link all of them with
"-lnss_files -lnss_dns -lresolv" explicitly which is sort of annoying.

-- 
+  Maciej W. Rozycki, Technical University of Gdansk, Poland   +
+--------------------------------------------------------------+
+        e-mail: macro@ds2.pg.gda.pl, PGP key available        +

-- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com



This archive was generated by hypermail version 2a22 on Tue Aug 1 04:53:11 2000 PDT
Send any problems or questions about this archive to webmaster@alphalinux.org.