Subject: Re: upgrading openssl - LD_LIBRARY_PATH / LIBPATH
To: None <tech-pkg@netbsd.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: tech-pkg
Date: 07/10/2005 13:56:09
On Sun, Jul 10, 2005 at 01:08:46PM +0200, Robert Cates wrote:
> when installing NetBSD you have /usr/bin, /usr/sbin, /usr/lib, etc., and 
> then later when you install packages, whether precompiled or from pkgsrc, 
> the software gets installed in /usr/pkg/bin, /usr/pkg/sbin, /usr/pkg/lib, 
> etc..  Isn't it possible to set a path/variable so that when compiling 
> packages it uses the updated (newer version) libraries in /usr/pkg/lib (for 
> example)?  Shouldn't that be automatically set, especially since the 
> default when installing additional software puts everything under /usr/pkg ?

This is the difference between "builtins" and normal packages. You just
have to tell pkgsrc to not use the system library (USE_BUILTIN.pkg = no ?).

Joerg