pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Detecting OS-provided software on Linux
* On 2014-01-25 at 23:19 GMT, Ottavio Caruso wrote:
> On 25 January 2014 22:00, Jonathan Perkin <jperkin%joyent.com@localhost>
> wrote:
> > Build dependencies can be verified at build time, which is how we can
> > get away with utilising native versions as necessary. However when
> > dealing with runtime dependencies we cannot guarantee that all target
> > systems for a package will have that native version, and so we
> > unconditionally depend on the pkgsrc version.
>
> Reading an old documentation about installing pkgsrc on Slackware, one
> of the requirements was to add /usr/pkg/lib to /etc/ld.so.conf.
>
> I did not find this bit in the official pkgrsc guide. Is it still the
> case? And to the purpose of finding native dependencies, does it make
> any difference?
You would only need to do this if you are building local software
against libraries from pkgsrc. All software built by pkgsrc itself
embeds the correct RPATH into the binaries so the ld.so.conf addition
is unnecessary.
It wouldn't make any difference for finding native dependencies.
--
Jonathan Perkin - Joyent, Inc. - www.joyent.com
Home |
Main Index |
Thread Index |
Old Index