Re: LD_LIBRARY_PATH unset

Mark Heslep <[email protected]> Wed, 16 Aug 2006 12:59:52 -0400
Newsgroups gmane.linux.redhat.devel
Message-ID <[email protected]>
Steven W. Orr wrote:
> On Wednesday, Aug 16th 2006 at 14:08 +0100, quoth Martin Raskovsky:
>
> =>Hi,
> =>
> =>I have just installed Red Hat Enterpresie 4 and have a problem with
> =>LD_LIBRARY_PATH which is set in my .bash_profile but appears unset in all
> =>shells. I have even placed a setenv > log as the last statement in the
> =>.bash_profile, the file does contain the correct LD_LIBRARY_PATH definition.
> =>
> =>Needless to say, there is an export statement for LD_LIBRARY_PATH.
> =>All other environment definitions including PATH are correctly preserved.
> =>I am using GNOME
>
> The LD_LIBRARY_PATH variable should hardly *ever* be set. Please use the 
> /etc/ld.so.conf file instead. The only time you should be using this 
> variable is if you are running a program which has a choice at execution 
> time for which shared library you want to select from.
>
>
>   
Note that recommendation requires working as root.