Subject: Re: libtool-base-1.4.20010614nb9/+REQUIRED_BY
To: None <>
From: Andrew Brown <>
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/ 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 
         -lz.0 => /usr/lib/
         -lltdl.3 => /usr/pkg/lib/
         -lc.12 => /usr/lib/

% ldd /usr/pkg/bin/guile
         -lltdl.3 => /usr/pkg/lib/
         -lm.0 => /usr/lib/
         -lm.0 => /usr/lib/
         -lguile.10 => /usr/pkg/lib/
         -lc.12 => /usr/lib/

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/

what does that library do, exactly?  provide an alternative to the
regular dlopen() foo or something?

|-----< "CODE WARRIOR" >-----|             * "ah!  i see you have the internet (Andrew Brown)                that goes *ping*!"       * "information is power -- share the wealth."