Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: "Maciej W. Rozycki" <macro@ds2.pg.gda.pl>
To: Greg Lindahl <glindahl@hpti.com>
Cc: axp-list@redhat.com
Subject: RE: SOLVED (sort of): Problems when compiling -static
Date: Mon, 3 Jul 2000 16:48:19 +0200 (MET DST)	[thread overview]
Message-ID: <Pine.GSO.3.96.1000703164013.308B-100000@delta.ds2.pg.gda.pl> (raw)
In-Reply-To: <000301bfe442$e67eb020$17bbfea9@hptilap.hpti.com>

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        +


      reply	other threads:[~2000-07-03 14:48 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-02  2:08 SOLVED (sort of): Problems when compiling -static Michal Jaegermann
2000-07-02 16:30 ` Greg Lindahl
2000-07-03 14:48   ` Maciej W. Rozycki [this message]
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox