Re: how to provide extra library paths?
Here is some more information:
On 8/31/07, P Kapat <kap4lin@gmail.com> wrote:
> Hi Michael, thanks for taking the time out for this issue... > > On 8/31/07, Michael Marsh <michael.a.marsh@gmail.com> wrote: > > On 8/31/07, P Kapat <kap4lin@gmail.com> wrote:
[...snip...]
> > > The funny part is though only .bashrc seems to be sourced when I start a konsole (or xterm) I do have the variables from .bash_profile available, except LD_LIBRARY_PATH. > > > > Is it possible that you're getting those variable from an existing > > environment? > > My guess is that KDE is "sourcing" .bash_profile to set the > environment variables at login. And when konsole or xterm is started, > only .bashrc gets sourced. Now, in between somehow, LD_LIBRARY_PATH is > getting unset!!! > > > That is, if you set them session-wide, and then for some > > reason unset LD_LIBRARY_PATH. Sticking a call to "env" at the top of > > your .bashrc should tell you this. > > Ok, I have put env and set -x in .bashrc as you can see above. The > output is as follows: > vvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvv
[...snip...]
> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
I search for the string LD_LIBRARY_PATH in all of my home files...
apart from .bashrc and .bash_profile, .xsession-errors had the
following:
$ grep LD_LIBRARY_PATH .xsession-errors
+ export LD_LIBRARY_PATH=BASH_PROFILE
+ LD_LIBRARY_PATH=BASH_PROFILE
which I guess is coming form .bash_profile once it gets "sourced" at
login!! I am not sure.
--
Regards
PK
--------------------------------------
http://counter.li.org #402424
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Received on Fri Aug 31 16:00:47 2007
This archive was generated by hypermail 2.1.8
: Sun Oct 07 2007 - 03:27:16 EDT
|