[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: path to libs



Philipp Gühring wrote:

>>out that the gcc compiler does not look in /usr/local/lib. Is there an
>>ENVIROMENT variable a can set?
>
>Try to add the directory to the file /etc/ld.so.conf

Note: You have to execute "ldconfig" after that.

>Or add the option gcc -L/usr/local/lib

Or set
LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH
in your /etc/profile or so.


IMHO you should do the first in this case, as /usr/local/lib is a very
common lib location. The other two options are more for the "unusual" cases.


	Christian
-- 

C:\DOS\COMMAND\SYSTEM\HELP\WHERE\THE\F*CK\AM_I