Subject: Re: Globally setting LD_LIBRARY_PATH
To: NetBSD users <netbsd-users@netbsd.org>
From: Soren Jacobsen <snj@pobox.com>
List: netbsd-users
Date: 02/29/2004 11:36:37
On 02/29 13:15, Sam Carleton wrote:
> I am trying to get postfix to run, but I am getting an
> error about not being able to find libdb-3.3.so.  I
> compiled both postfix and BerkeleyDB.3.3 manually, rather
> then using the pkgsrc.

Why?

> I am trying to run postfix as root and root does have the path to
> libdb-3.3.so in the LD_LIBRARY_PATH.  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.
> 
> How do I set the LD_LIBRARY_PATH globally so that I don't have this
> problem any more?

http://netbsd.org/Documentation/elf.html