Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

gcc on Solaris

Status
Not open for further replies.

Lkb

MIS
Jul 9, 1999
1
US
how do you update the LD_LIBRARY_PATH? is there something like ld.so.conf on linux?<br>
-Lkb
 
To the best of my limited Solaris development knowledger, there isn't an equivalent of ld.so.conf. If you want to set LD_LIBRARY_PATH for everyone logging in, why not put it in to /etc/profile? (Assuming everyone uses sh, ksh, or similar.)
 
Modify /etc/profile if you need that variable for all users
else modify $HOME/.profile if you only need the change for one user. that is for sh or ksh
for csh, you can either modify login or $home/.login+
or cshrc or $HOME/.cshrc+
the syntax for sh is :
LD_LIBRARY_PATH=$PATH:path to add:.
export LD_LIBRARY_PATH [sig][/sig]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top