View previous topic :: View next topic |
Author |
Message |
tommy_d Tux's lil' helper
Joined: 11 Jan 2006 Posts: 79 Location: Darmstadt/Germany
|
Posted: Sun Dec 27, 2009 10:57 am Post subject: LDPATH wird nicht gesetzt ?! [solved] |
|
|
Hallo zusammen,
ich habe in /etc/env.d einiges, was den LDPATH setzen sollte, z.B.
Code: |
# /etc/env.d/00basic
PATH="/opt/bin"
ROOTPATH="/opt/bin"
LDPATH="/usr/local/lib"
MANPATH="/usr/local/share/man:/usr/share/man"
INFOPATH="/usr/share/info"
CVS_RSH="ssh"
PAGER="/usr/bin/less"
LESSOPEN="|lesspipe.sh %s"
|
nach env.update und source /etc/profile sollte ein
doch diesen LDPATH anzeigen, oder?
tut es aber nicht:
Code: |
avalon tlz # env-update
>>> Regenerating /etc/ld.so.cache...
avalon tlz # source /etc/profile
avalon tlz # echo $LDPATH
avalon tlz #
|
Habe ich da etwas Grundsätzliches nicht verstanden? Die anderen Umgebungsvariablen (PATH etc.) sehen gut aus.
Last edited by tommy_d on Mon Dec 28, 2009 7:24 am; edited 1 time in total |
|
Back to top |
|
|
mv Watchman
Joined: 20 Apr 2005 Posts: 6780
|
Posted: Sun Dec 27, 2009 5:58 pm Post subject: |
|
|
Die LDPATH-Variable wird von env-update nur zum Generieren von /etc/ld.so.conf berücksichtigt. Wenn dort also alle Einträge zu finden sind, funktioniert alles, wie es soll. |
|
Back to top |
|
|
tommy_d Tux's lil' helper
Joined: 11 Jan 2006 Posts: 79 Location: Darmstadt/Germany
|
Posted: Mon Dec 28, 2009 7:23 am Post subject: |
|
|
Ah, ok es bekommt also eine Sonderbehandlung. Vielen Dank für den Hinweis! |
|
Back to top |
|
|
|