Subject: Re: NetBSD packages and LD_LIBRARY_PATH
To: Geert Hendrickx <ghen@telenet.be>
From: Todd Vierling <tv@duh.org>
List: tech-pkg
Date: 10/27/2005 10:45:13
On Thu, 27 Oct 2005, Geert Hendrickx wrote:

> > Among other things, yes.  This is similar to how multiple interdependent
> > shlibs in the same source tree work.  If you need to run an in-tree
> > application that depends on those libraries as part of the build, you need a
> > way to get at those shlibs without installing them to the final rpath.
>
> Unless you statically compile those tools in a bootstrap stage.

You can do that, although it implies building a static .a as well, doubling
your library compile time.

(And before you say "we already do that":  I'm planning to add a switch to
pkgsrc to allow turning off static libs in all libtool-using packages,
reducing compile time and installed code size.  :)

-- 
-- Todd Vierling <tv@duh.org> <tv@pobox.com> <todd@vierling.name>