Re: setting LD_LIBRARY_PATH
On Thu, Jun 08, 2000 at 11:27:02PM +0000, Joseph de los Santos wrote:
> seeing in the list recently. I would like to know how to set my
> LD_LIBRARY_PATH to say, add a $PWLIBDIR/lib to my LD_LIBRARY_PATH environment
> variable.
from "man ld.so"
ENVIRONMENT
LD_LIBRARY_PATH
A colon-separated list of directories in which to
search for ELF libraries at execution-time. Simi
lar to the PATH environment variable.
So, assuming you are running bash:
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$PWLIBDIR/lib
If you want that to run every time you log in, you can put it in your
~/.bash_profile.
Reply to: