From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Thread: fa528,1ba7d710d0a5dff3 X-Google-NewGroupId: yes X-Google-Attributes: gide63b27eb52,domainid0,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit X-Received: by 10.180.10.230 with SMTP id l6mr5045759wib.3.1366155141776; Tue, 16 Apr 2013 16:32:21 -0700 (PDT) Path: p18ni73597wiv.0!nntp.google.com!fu-berlin.de!diesel.cu.mi.it!not-for-mail From: supervinx Newsgroups: comp.unix.tru64 Subject: Re: Best place to add PATH statements Date: Tue, 16 Apr 2013 23:32:21 +0000 (UTC) Organization: C.U. srl News Server Message-ID: References: <79b88981-ddf2-4ce7-951e-26d7d23b0674@c10g2000yqd.googlegroups.com> NNTP-Posting-Host: adsl-ull-100-5.50-151.net24.it Mime-Version: 1.0 X-Trace: tdi.cu.mi.it 1366155141 22055 151.50.5.100 (16 Apr 2013 23:32:21 GMT) X-Complaints-To: abuse@diesel.cu.mi.it NNTP-Posting-Date: Tue, 16 Apr 2013 23:32:21 +0000 (UTC) User-Agent: Pan/0.133 (House of Butterflies) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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