[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
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.