Re: LD_LIBRARY_PATH
- From: Nigel Wade <nmw@xxxxxxxxxxxx>
- Date: Thu, 26 Oct 2006 09:44:08 +0100
Miner, Jonathan W (CSC) (US SSA) wrote:
Hi -
I'm trying to investigate a problem that my users are having when trying to set LD_LIBRARY_PATH in their .login files. On RHEL4u4 systems, after they login via gdm and launch a Gnome Terminal, the LD_LIBRARY_PATH variable is no longer set. Other variables set in their .login files are properly set. Remote logins via telnet, rlogin, or ssh are not effected by this problem. I've looked into other releases, and see the same behavior in FC4 and FC5, but not in RHL9. According to the users, this problem first started earlier this year, purhaps in March 2006.
There are workarounds:
1) Configure gnome-terminal to run as a "login shell"
2) Move LD_LIBRARY_PATH definitions into users' .cshrc files
3) Add configuration information to the /etc/ld.so.conf.d/ directory.
I'm still trying to figure out what changed to cause this to happen.
xdm/gdm use sh/bash whilst they are setting up the session. So, /etc/profile is the place to locate system wide environment settings, and $HOME/.bash_profile for individual settings.
It may seem strange, but the users shell setting doesn't come into it until the user actually runs gnome-terminal, or whatever X shell they prefer.
--
Nigel Wade, System Administrator, Space Plasma Physics Group,
University of Leicester, Leicester, LE1 7RH, UK
E-mail : nmw@xxxxxxxxxxxx
Phone : +44 (0)116 2523548, Fax : +44 (0)116 2523555
--
redhat-list mailing list
unsubscribe mailto:redhat-list-request@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list
- Follow-Ups:
- RE: LD_LIBRARY_PATH
- From: Miner, Jonathan W (CSC) (US SSA)
- RE: LD_LIBRARY_PATH
- References:
- LD_LIBRARY_PATH
- From: Miner, Jonathan W (CSC) (US SSA)
- LD_LIBRARY_PATH
- Prev by Date: RE: sniffer in redhat 9
- Next by Date: Cannot play more than one sound application in Fedora Core 5
- Previous by thread: LD_LIBRARY_PATH
- Next by thread: RE: LD_LIBRARY_PATH
- Index(es):
Relevant Pages
- Re: [SLE] Re: How does .bashrc work in KDE (Konsole) (Conclusion)
... I don't change these settings often, I will not spend anymore time on ... You
can always source a file from a running shell. ... with a file name argument reads and
executes commands from that file. ... executed the "source" command rather than
a sub-shell launched ... (SuSE) - RE: LD_LIBRARY_PATH
... email me unicast at aaron.gould@xxxxxxx ... There are workarounds: ...
for individual settings. ... but the users shell setting doesn't come into it until
the ... (RedHat) - Re: [SLE] Re: How does .bashrc work in KDE (Konsole) (Conclusion)
... then I get the following path when I am logged into KDE and using Konsole: ...
If I comment it out in .bashrc I just get: ... shell in Konsole is the child of
at least 2 other shells. ... for the settings to take effect on any new shells created.
... (SuSE) - Re: [BUG]: 2.6.19.2: Weird serial core issue
... That's the job of the tty layer. ... Shells typically alter the termios settings
- eg, ... When command input has finished (by ... Changing the termios settings
while the shell is waiting for input is not ... (Linux-Kernel) - Re: C code for parsing rc.conf?
... >> runs printenv ... > It's a little more awkward, but another way
to do this is to use a shell ... > The shell's environment will be exported to
your program's environment. ... This approach gives you the rc.conf settings ...
(freebsd-hackers)