On 29/11/09 13:55, Alonso Graterol wrote: > How can I be > sure any package is able to find the library wen called as "-l(***)"? > > Thanks, > > Alonso
If -l(***) is in /path/to/folder before compiling do:- export LDFLAGS='-L/path/to/folder' To run an application that needs to link to a shared library "-l(***)" in some non-standard location /path/to/folder export LD_LIBRARY_PATH=/path/to/folder You should only need to do these things if you've installed stuff in an unusual place (such as your home folder). If you've installed things in /lib or /usr/lib then ld should find them automatically. Andy -- http://linuxfromscratch.org/mailman/listinfo/blfs-support FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
