Subject: Re: ld --as-needed broken ?
To: Luke Mewburn <lukem@NetBSD.org>
From: Todd Vierling <tv@duh.org>
List: tech-toolchain
Date: 05/13/2005 01:01:17
On Fri, 13 May 2005, Luke Mewburn wrote:
> We already do this for some shared libraries, and have done so for a while:
>
> > uname -sr
> NetBSD 3.0_BETA
>
> > ldd /usr/lib/libkrb5.so
> /usr/lib/libkrb5.so:
> -lcrypt.0 => /lib/libcrypt.so.0
> -lcrypto.2 => /usr/lib/libcrypto.so.2
> -lasn1.6 => /usr/lib/libasn1.so.6
> -lcom_err.4 => /usr/lib/libcom_err.so.4
> -lroken.12 => /usr/lib/libroken.so.12
Hm. Perhaps it's me, but I don't see libc.so there. 8-)
(Meaning: While it exists for *some* libraries, it's missing in quite many
cases.)
--
-- Todd Vierling <tv@duh.org> <tv@pobox.com> <todd@vierling.name>