KDE4 kdebase-workspace compile error (SOLVED, sort of..)

Andrew Benton b3nton at gmail.com
Sun Nov 29 09:08:32 PST 2009


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



More information about the blfs-support mailing list