Re: LD_LIBRARY_PATH




Josh Babcock wrote:
At first I thought that I was experiencing a known problem with ssh-agent, but when I removed it from my .xsession file the problem didn't go away. Before running xinit, my LD_LIBRARY_PATH is set exactly as it was in my profile, but when I open a shell from within sawfish LD_LIBRARY_PATH is unset, completely absent. This is causing me a lot of problems. I can get around it by setting LD_LIBRARY_PATH in my .bashrc file, but that is an ugly hack and will undoubtedly cause confusion down the line. I really want to be able to set this variable in my .profile and not have to worry about it.

Has anyone else had this problem?

I haven't used bash for ages, but I remember much annoyance regarding its handling of .profile vs .bash_profile.

Anyway:
- what does your ~/.bash_profile contain?
- when you "open a shell from within sawfish", are you using a terminal? which terminal? what is the sawfish command that runs this? if you open a terminal and run zsh, does that source the right files? what about a different terminal?
- also, which distro are you on?
- look here: http://groups-beta.google.com/group/linux.debian.user/msg/7f38c881979b96c5?dmode=source&hl=en
and here:
http://groups-beta.google.com/group/linux.debian.user/msg/23c10360ddcc3e87?dmode=source&hl=en

Just throwing some ideas your way, hopefully one of them will work. If not, I suggest using the Z shell instead of bash ;)

Raf.



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]