Re: how to provide extra library paths?
On 8/31/07, Michael Marsh <michael.a.marsh@gmail.com> wrote:
> On 8/31/07, P Kapat <kap4lin@gmail.com> wrote: > > Hi Michael, thanks for taking the time out for this issue... > > 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?
well, there is a .kde directory where all kde related configurations
get stored, but no LD_LIBRARY_PATH in any of those files (even
binary)... I will have to study the KDE startup nicely sometime. Btw,
I am logging into KDE from GDM. Would that play any role?
> 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.
I think it was from .bash_profile. Is it possible to know which
program modified the .xsession-errors last?
--
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 18:26:04 2007
This archive was generated by hypermail 2.1.8
: Sun Oct 07 2007 - 03:27:55 EDT
|