On Mon, Mar 22, 2004 at 06:28:43PM +0100, Frank Küster wrote: > Andreas Metzler <[EMAIL PROTECTED]> wrote: [...] > > Personally I think the payoff is ok, due to dlopen in glibc (NSS, > > iconv) static linking is unreliable anyway.
> This I don't understand. What is the relation between dlopen calls and > static linking? For sure a statically linked binary won't use dlopen, It does. > and if it's a different one, what's the problem? The problem is that dlopen()ed stuffed is not linked and therefore not pulled in by static linking. - If you link static against glibc 2.2 and execute the program on a system using glibc 2.3 the NSS/iconv modules from the new version are used which might be incompatible. See http://bugs.debian.org/193310 The comment at the top of the mail is too broad, static linking against chosen libraries whih don't use dlopen works. cu andreas

