LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   How to modify the library path variable?modify the (https://www.linuxquestions.org/questions/linux-newbie-8/how-to-modify-the-library-path-variable-modify-the-169495/)

Electronkz 04-13-2004 07:09 AM

How to modify the library path variable?
 
Hi, How can i modify the path variable of the .so files?
.so are libraries right?
Where is the file that contains the path? I know how to modify the bin variable, it is in .bashrc , is there a file similar to this one for libraries??
:Pengy:
Thanks in advance

|||electronkz|||

hw-tph 04-13-2004 07:18 AM

The file /etc/ld.so.conf contains a list of paths (separated by newlines) that will be searched by ldconfig for libraries. You can edit it and add (or remove) a few lines and then run ldconfig (as root) to update the cache.


Håkan


All times are GMT -5. The time now is 11:17 PM.