Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
LDPATH wird nicht gesetzt ?! [solved]
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
tommy_d
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2006
Posts: 79
Location: Darmstadt/Germany

PostPosted: Sun Dec 27, 2009 10:57 am    Post subject: LDPATH wird nicht gesetzt ?! [solved] Reply with quote

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
Code:

echo $LDPATH

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
View user's profile Send private message
mv
Watchman
Watchman


Joined: 20 Apr 2005
Posts: 6281

PostPosted: Sun Dec 27, 2009 5:58 pm    Post subject: Reply with quote

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
View user's profile Send private message
tommy_d
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2006
Posts: 79
Location: Darmstadt/Germany

PostPosted: Mon Dec 28, 2009 7:23 am    Post subject: Reply with quote

Ah, ok :idea: es bekommt also eine Sonderbehandlung. Vielen Dank für den Hinweis!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum