Re: how to provide extra library paths?
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:
> > > No I am not sourcing any other file... I can provide the two files here if necessary..
> >
> > That might be worthwhile.
>
> Here is .bashrc: (kindly bear with the unnecessary aliases and may be
> broken lines. Also for anonymity I have changed the actual hostname
> and username.)
[snip]
I don't see anything obvious in it.
> 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!!!
The real question is what is KDE doing between first sourcing your
profile and then running xterm. Since I don't have KDE installed, I
don't know what files it might be running.
Presumably, you have something like .kde, .kderc, or Desktop in your
home directory. Does grep find anything about LD_LIBRARY_PATH in any
of those?
> Does this help?
Well, ruling things out is helpful. I'm pretty much stumped, though.
BTW, the lines in your .xsession-errors are output from your .bashrc
being run by something that doesn't have a tty output. That's
probably the initial sourcing at session start-up.
--
Michael A. Marsh
http://www.umiacs.umd.edu/~mmarsh
http://mamarsh.blogspot.com
http://36pints.blogspot.com
Reply to: