static binaries and NSS

Nicholas Wourms nwourms@myrealbox.com
Thu Jun 12 20:21:00 GMT 2003


Ulrich Drepper wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Thorsten Kukuk wrote:
> 
> 
>>+link_warning (getgrouplist, "the `getgrouplist' function should not be used in static binaries.")
> 
> 
> "should not be used" probably isn't the right wording, especially if the
> loading issue is resolved with Jakub's patch or something similar.  It
> might be fine, given the situation.  The actual problem should be
> described.  I probably settle for
> 
> using 'foo' in statically linked applications requires at runtime the
> NSS modules from the glibc version used for linking

How about:

"Using 'foo' in a statically linked binary requires the NSS modules from 
the same glibc version it was built against be present for proper 
runtime execution."

Cheers,
Nicholas



More information about the Libc-alpha mailing list