LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Setting Library paths RedHAT9 (N00B) (https://www.linuxquestions.org/questions/linux-software-2/setting-library-paths-redhat9-n00b-296509/)

Jaykay3k 03-01-2005 08:44 PM

Setting Library paths RedHAT9 (N00B)
 
Hi,

i need to install a software and I need the libraries in the path "/opt/gcc-2.95.3/lib" to be recognised dynamically when compiling programs.

I whant to set a temporary (or extra/permanent) path to be checked whenever compiling programs as it doesn,t seem to read one of the required files!


1) How do I do this on Redhat 9?
2) How do I know which libraries are bieng used and also their location (path) when I install a software? please help!

Anyhelp and advice is aprreciated. Thanks in advance.

hfreeman 03-03-2005 01:15 AM

Well, if you want to trust advice from another noob, here goes, at least for your first question. Try adding the path of your "new" library to the end of the file /etc/ld.so.conf and rerun your make.
Good luck!
Hank


All times are GMT -5. The time now is 10:12 AM.