[3114] in RedHat Linux List
Re: LD_LIBRARY_PATH
daemon@ATHENA.MIT.EDU (Eric Smith)
Thu Nov 7 03:04:06 1996
Date: 7 Nov 1996 08:53:47 -0000
From: Eric Smith <eric@brouhaha.com>
To: Patrick Bauer <bauerp@niagara.com>
CC: redhat-list@redhat.com
In-reply-to: <Pine.HPP.3.91.961106143831.5954A@chardonnay.niagara.com>
(message from Patrick Bauer on Wed, 6 Nov 1996 14:40:27 -0500 (EST))
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
Patrick Bauer <bauerp@niagara.com>
> not sure how to display the environment variable LD_LIBRARY_PATH... and
> to add to it.
Examine it with the command
echo $LD_LIBRARY_PATH
If you're using the bash shell, you can prepend to it by giving the command
export LD_LIBRARY_PATH=/some/new/directory:$(LD_LIBRARY_PATH)
If you're using tcsh, use
setenv LD_LIBRARY_PATH /some/new/directory:$(LD_LIBRARY_PATH)
This command will only affect your current process and its children (i.e.,
commands you launch from it). If you want this to be "permanent", you should
put it in a script somewhere. For instance, /etc/rc.local if it should be
used for everything, or the file .profile (bash) or .login (tcsh) in a user's
home directory if it is just for that user.
Cheers,
Eric
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
________________________________________________________________________
http://www.redhat.com/RedHat-FAQ http://www.redhat.com/RedHat-Errata
http://www.redhat.com/RedHat-Tips http://www.redhat.com/mailing-lists
------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null