Subject: Re: Why no DT_NEEDED tags in libs?
To: Jason Thorpe <>
From: Bill Studenmund <>
List: tech-userlevel
Date: 03/16/2006 15:23:14
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Mar 16, 2006 at 11:44:19AM -0800, Jason Thorpe wrote:
> On Mar 16, 2006, at 9:17 AM, Jukka Salmi wrote:
> >Hi,
> >
> >I noticed a [1]problem with firefox on a -current NetBSD/i386 system:
> >it fails to load the base system's GSSAPI library, but it succeeds to
> >load the one built using pkgsrc (security/heimdal). I noticed that
> >relinking the base system's adding `-lkrb5 -lcrypto -=20
> >lasn1
> >-lroken -lcrypt' to the linker options, thus forcing creation of
> >DT_NEEDED tags, solves the problem.
> >
> >So, who's the culprit? Is it firefox, not knowing how to correctly
> >load the library, or is it the Makefile in src/lib/libgssapi, not
> >specifying LIBDPLIBS?
> I personally think we SHOULD be adding the DT_NEEDED tags in our =20
> libs.  I consider this to be a bug in NetBSD.

Is there a reason we don't, other than that we didn't used to?

I thought that even our a.out code handled this now. ??

Take care,


Content-Type: application/pgp-signature
Content-Disposition: inline

Version: GnuPG v1.2.3 (NetBSD)