From: supervinx <nessuno@libero.it>
Subject: Re: Best place to add PATH statements
Date: Tue, 16 Apr 2013 23:32:21 +0000 (UTC) [thread overview]
Message-ID: <kkkn25$lh7$1@tdi.cu.mi.it> (raw)
In-Reply-To: 79b88981-ddf2-4ce7-951e-26d7d23b0674@c10g2000yqd.googlegroups.com
Il Tue, 16 Apr 2013 08:57:44 -0700, Steven Schweda ha scritto:
>> I'd add a path to PATH variable and define LD_LIBRARY_PATH. I saw three
>> candidates: /etc/profile, $HOME/.profile, $HOME/.login I must have the
>> LD_LIBRARY_PATH defined before I log in. Tried /etc/profile with no
>> success.
>
> Some of us non-psychics don't know which shell you're
> using, and we also don't know which ~/.whatever files exist already, so
> we don't know what your mystery-shell is likely to do when you log in.
>
> Shell documentation sometimes describes the way a
> particular shell reads which start-up files. Bash has an especially
> rich set of possibilities (.bashrc, ...).
I used standard sh.
When I need it, I start bash after login.
There's a desktop chooser and I'm not sure if when it's executed the
~/.profile has been read or not.
Even if I defined LD_LIBRARY_PATH in the ~/.profile file,
gnome complained about not finding some libs.
Starting gnome after login gave me a different error, so I guess that it
reads the LD_LIBRARY_PATH variable, after the login.
I was not clear: my goal was to make that variabile available to the
desktop chooser.
I gave up because even if I defined the LD_... variable and started
the gnome-session manually, I got a "cannot map libmme" error, which I
couldn't handle by now.
KDE package worked at first try, instead...
Thanks !
--
http://www.supervinx.com/Retrocomputer
prev parent reply other threads:[~2013-04-16 23:32 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-04-11 11:08 Best place to add PATH statements supervinx
2013-04-12 0:31 ` MG
2013-04-12 7:29 ` supervinx
2013-04-16 15:57 ` Steven Schweda
2013-04-16 23:32 ` supervinx [this message]
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox