--- Matthew Saltzman mjs@ces.clemson.edu wrote:
Interesting point. But the spawned shells should inherit the parent's environment and that was created at login. In fact, all the other definitions in .bash_profile are inherited; only LD_LIBRARY_PATH is overwritten.
Also, LD_LIBRARY_PATH used to be passed through (in earlier releases of RHL). Then it stopped, then it worked for a while again (in some recent releases), and now in FC4 at least, it's stopped again. It's only lost in a graphical login. It may be gdm or Metacity that is doing the overwriting.
BTW, see https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=164869.
This bug is exactly what I met.
After I set it in .bashrc, I get LD_LIBRARY_PATH in Terminal.
But I still cannot get it in some applications likes Eclipse. I have to launch Eclipse from Terminal, only this way LD_LIBRARY_PATH works fine in the application.
Leon
____________________________________________________ Start your day with Yahoo! - make it your home page http://www.yahoo.com/r/hs