-   Linux - Newbie (
-   -   How to modify the library path variable?modify the (

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??
Thanks in advance


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

The file /etc/ 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.


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