Subject: 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:15:20
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. 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?
Sam