Subject: Re: libtool-base-1.4.20010614nb9/+REQUIRED_BY
To: None <tech-pkg@netbsd.org>
From: Andrew Brown <atatat@atatdot.net>
List: tech-pkg
Date: 11/21/2002 23:23:33
>> as i go to upgrade some pkgs, i see (on one machine) that libtool-base
>> is required by dict-client. on another, libtool-base is required by
>> guile.
>>
>> this seems strange. there did not used to be anything that explicitly
>> required libtool-base in this manner. perhaps the buildlink2 file for
>> libtool is a little wrong?
>
>Packages should only use libtool/buildlink2.mk if they need to link
>against the libltdl shared library in ${LOCALBASE}. Otherwise, just
>setting USE_LIBTOOL in the package (to get a build dependency on libtool)
>is enough.
% ldd /usr/pkg/bin/dict
/usr/pkg/bin/dict:
-lz.0 => /usr/lib/libz.so.0
-lltdl.3 => /usr/pkg/lib/libltdl.so.3
-lc.12 => /usr/lib/libc.so.12
% ldd /usr/pkg/bin/guile
/usr/pkg/bin/guile:
-lltdl.3 => /usr/pkg/lib/libltdl.so.3
-lm.0 => /usr/lib/libm387.so.0
-lm.0 => /usr/lib/libm.so.0
-lguile.10 => /usr/pkg/lib/libguile.so.10
-lc.12 => /usr/lib/libc.so.12
can't say i see *why* they'd need that. the dict-client pkg, for
example, never needed such a thing before. fwiw...
% locate Makefile | grep /usr/pkgsrc | xargs grep -l libtool/buildlink2.mk
/usr/pkgsrc/databases/unixodbc/Makefile.common
/usr/pkgsrc/devel/kdesdk2/Makefile
/usr/pkgsrc/devel/kdesdk3/Makefile
/usr/pkgsrc/lang/guile/Makefile
/usr/pkgsrc/mail/balsa/Makefile
/usr/pkgsrc/mail/libesmtp/Makefile
/usr/pkgsrc/security/libmcrypt/Makefile
/usr/pkgsrc/textproc/aspell/Makefile
/usr/pkgsrc/textproc/dict-client/Makefile
/usr/pkgsrc/textproc/dict-server/Makefile
/usr/pkgsrc/textproc/gtkspell/Makefile
/usr/pkgsrc/textproc/libpspell/Makefile
what does that library do, exactly? provide an alternative to the
regular dlopen() foo or something?
--
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org * "ah! i see you have the internet
twofsonet@graffiti.com (Andrew Brown) that goes *ping*!"
werdna@squooshy.com * "information is power -- share the wealth."