From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 27568 invoked from network); 3 Jul 2000 14:48:34 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 3 Jul 2000 14:48:34 -0000 Received: from delta.ds2.pg.gda.pl (delta.ds2.pg.gda.pl [153.19.144.1]) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id KAA20951 for ; Mon, 3 Jul 2000 10:48:28 -0400 Received: from localhost by delta.ds2.pg.gda.pl (8.9.3/8.9.3) with SMTP id QAA01745; Mon, 3 Jul 2000 16:48:20 +0200 (MET DST) Date: Mon, 3 Jul 2000 16:48:19 +0200 (MET DST) From: "Maciej W. Rozycki" To: Greg Lindahl cc: axp-list@redhat.com Subject: RE: SOLVED (sort of): Problems when compiling -static In-Reply-To: <000301bfe442$e67eb020$17bbfea9@hptilap.hpti.com> Message-ID: Organization: Technical University of Gdansk MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 +