Here is some more information:

On 8/31/07, P Kapat <[EMAIL PROTECTED]> wrote:
> Hi Michael, thanks for taking the time out for this issue...
>
> On 8/31/07, Michael Marsh <[EMAIL PROTECTED]> wrote:
> > On 8/31/07, P Kapat <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to