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

Re: Was entfernt LD_LIBRARY_PATH aus der Umgebung?



On Sun, Sep 11, 2005 at 09:23:08PM +0200, Andreas Pakulat wrote:
> On 11.09.05 21:15:19, Joerg Rieger wrote:
> > On Sun, Sep 11, 2005 at 08:45:34PM +0200, Andreas Pakulat wrote:
> > > wegen meinem Java-Problem wollte ich mal fix LD_LIBRARY_PATH setzen, per
> > > $HOME/.bash_profile, aber irgendwie klappt das nicht wenn ich mich am
> > > kdm einlogge. Auf /dev/tty1 ist LD_LIBRARY_PATH gesetzt nach dem Login,
> > > in ner Shell aus KDE heraus nicht.
> > > 
> > > Jemand ne Idee welches Skript ein unset LD_LIBRARY_PATH macht?
> > 
> > Login über KDM? Da werden deine lokalen Einstellungen nicht 
> > berücksichtigt, da es keine login shell ist.
> 
> Doch, bei KDE3.4 startet kdm eine Loginshell, bzw. liest
> $HOME/.bash_profile ein. Das kann ich auch nachvollziehen mit einem
> 
> export MYTEST="TEST" 
> 
> ist im XTerm dann gesetzt (und ich mache kein source .bash_profile in
> der .bashrc). 
> 
> Aber irgendwas fuehrt hier ein 
> 
> unset LD_LIBRARY_PATH aus, wenn /usr/lib drin ist.
> 
> > Löse das immer so:
> > http://lists.debian.org/debian-user-german/2005/09/msg00717.html
> 
> Ohne da jetzt reingeguckt zu haben: Ist in KDE3.4 wie gesagt nicht mehr
> noetig.

Ah ok, war mir neu, danke.

Vielleicht kann man trotzdem was mit KDM drehen:

# Additional environment variables KDM should pass on to all programs it runs.
# LD_LIBRARY_PATH and XCURSOR_THEME are good candidates;
# otherwise, it should not be necessary very often.
# Default is ""
#ExportList=LD_LIBRARY_PATH,ANOTHER_IMPORTANT_VAR


-- 



Reply to: