Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Problems with instalation ....
Message
 
To
26/07/2001 10:48:46
Melvin Sequera
M&H New World, C.A.
Fuenlabrada, Spain
General information
Forum:
Linux
Category:
Distribution (called 'distros') specific issues
Miscellaneous
Thread ID:
00535716
Message ID:
00535785
Views:
11
Melvin,
It's easier to help if you would post a specific error with a specific script because there are so many different things that could be wrong. If you are compiling code you set the paths to the libraries differently than if you are just looking for something in a shell script. And, are you having problems with shared libraries? Because you might need to put and entry in your /etc/ld.so.conf file and then run 'ldconfig' (as root) to rebuild the shared libraries database.

But if this helps, the way to set environmental variables is:

export VAR=value

You check the value of a variable by saying:

echo $VAR

If you want to add to the path, then you would say

export PATH="$PATH:/another/path:/yet/another"

Remeber that environmental variables are only good for the session in which you declare them unless you edit /etc/profile or something like that. (Running a shell script starts a new session, so you might have to edit the shell script).

Later.

j



>Right now I'm having some problems when I install some software, specially through a shell script. The comon error said to me that the script can´t locate the pass to the X libraries, but this libraries works fine in my machine. I'm still using SuSE 7.0 and I don´t know what to do. I think I need to dfine some PATH in some place but I don´t know where. So if anyone can help me I will appreciate the tip.
Jason Bradley Nance
jbnance@tresgeek.net

Got root?
Previous
Reply
Map
View

Click here to load this message in the networking platform