Subject: Re: Globally setting LD_LIBRARY_PATH
To: NetBSD users <netbsd-users@netbsd.org>
From: Sam Carleton <scarleton-netbsdusers@miltonstreet.com>
List: netbsd-users
Date: 02/29/2004 13:27:24
On Sun, Feb 29, 2004 at 01:15:20PM -0500, Sam Carleton wrote:

> I am assuming that postfix is spawning
> another process in a shell different from roots (which is
> tcsh) and the other shell does not have LD_LIBRARY_PATH
> configured correctly.

I took the liberty of added this to my /etc/csh.cshrc

set LD_LIBRARY_PATH = ( /usr/X11R6/lib /usr/pkg/lib /usr/local/BerkeleyDB/lib )
setenv LD_LIBRARY_PATH /usr/X11R6/lib:/usr/pkg/lib:/usr/local/BerkeleyDB/lib

and this to my /etc/profile:

LD_LIBRARY_PATH=/usr/X11R6/lib:/usr/pkg/lib:/usr/local/BerkeleyDB/lib
export LD_LIBRARY_PATH

and I continue to get the error:
Shared object "libdb-3.3.so" not found

Any ideas?

Sam