Subject: Re: lib/3522: undefined symbols in libwrap
To: Jim Bernard <jbernard@tater.mines.edu>
From: Chris G. Demetriou <cgd@cs.cmu.edu>
List: netbsd-bugs
Date: 04/22/1997 11:10:51
> One might argue that the NetBSD linker should not add dependencies to
> any command-line-specified libraries that aren't actually needed, but libwrap
> shouldn't have these declarations added.
The former isn't just "the NetBSD linker" however.
current GNU linkers (for at least some object formats; ELF is what i'm
familiar with) do that same thing, and from what i've heard that
behaviour is the 'standard' behaviour you should expect when using
shared libraries (where i think 'standard' is defined both by
documents saying what it should be, and long-standing practice).
So, if you want to "fix" this, you're gonna have to change the world.
8-)
chris