* Best place to add PATH statements
@ 2013-04-11 11:08 supervinx
2013-04-12 0:31 ` MG
2013-04-16 15:57 ` Steven Schweda
0 siblings, 2 replies; 5+ messages in thread
From: supervinx @ 2013-04-11 11:08 UTC (permalink / raw)
Hi !
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.
--
http://www.supervinx.com/Retrocomputer
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Best place to add PATH statements
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
1 sibling, 1 reply; 5+ messages in thread
From: MG @ 2013-04-12 0:31 UTC (permalink / raw)
On 11-apr-2013 13:08, supervinx wrote:
> 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.
/Seriously/? You have so many systems, yet you seem to be lacking
this kind of rudimentary 'understanding'. How is that, how did
that happen?
- MG
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Best place to add PATH statements
2013-04-12 0:31 ` MG
@ 2013-04-12 7:29 ` supervinx
0 siblings, 0 replies; 5+ messages in thread
From: supervinx @ 2013-04-12 7:29 UTC (permalink / raw)
Il Fri, 12 Apr 2013 02:31:51 +0200, MG ha scritto:
> On 11-apr-2013 13:08, supervinx wrote:
>> 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.
>
> /Seriously/? You have so many systems, yet you seem to be lacking this
> kind of rudimentary 'understanding'. How is that, how did that happen?
>
> - MG
Well, every Unix flavour has its own idiosycracies...
The whole history is this.
I'm a more a collector than a system manager.
Having so many systems made me learn just the basic things for all the
OSes involved. I go into deep when I have to face some troubles...
The system has been configured and works well with CDE (even the background
has been changed ...)
Compiled bash with no troubles.
I saw on the HP site the gnome and firefox packages, binaries ready, for 5.1.
I installed them and had some issues, mainly conflicting library versions.
I thought those packages were ready-to-use.
The gnome-session complains about a library, so I found on the web that
the LD_LIBRARY_PATH has to be defined.
I defined it the way I knew for other Unix flavours (first time with Tru64 from
scratch): doing the work on cmdline and starting manually the session gives
me a different error (cannot map libmme...)
Running the session automatically from the desktop switcher (HP download)
gives me the earlier library error (on the serial console) as LD_LIBRARY_PATH
was undefined.
So I though that I was missing something (as it was for domains and filesets
in the other post) or the HP gnome and firefox packages aren't so good.
BTW they're not mandatory. The system runs fine and fast, I'd like
to try them, nothing else...
--
http://www.supervinx.com/Retrocomputer
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Best place to add PATH statements
2013-04-11 11:08 Best place to add PATH statements supervinx
2013-04-12 0:31 ` MG
@ 2013-04-16 15:57 ` Steven Schweda
2013-04-16 23:32 ` supervinx
1 sibling, 1 reply; 5+ messages in thread
From: Steven Schweda @ 2013-04-16 15:57 UTC (permalink / raw)
Cc: Steven M. Schweda
> 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, ...).
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Best place to add PATH statements
2013-04-16 15:57 ` Steven Schweda
@ 2013-04-16 23:32 ` supervinx
0 siblings, 0 replies; 5+ messages in thread
From: supervinx @ 2013-04-16 23:32 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2013-04-16 23:32 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox