Subject: Why no DT_NEEDED tags in libs?
To: None <>
From: Jukka Salmi <>
List: tech-userlevel
Date: 03/16/2006 18:17:16

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 -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?

Regards, Jukka


bashian roulette:
$ ((RANDOM%6)) || rm -rf ~