Magnus Larsson wrote:
>
> Dear blfs-support@linuxfromscratch.org
>
> I get an error when executing make, truing to build
> OpenJDK-1.7.0.45/IcedTea-2.4.3 as per  Beyond Linux® From Scratch - Version
> 2013-11-29. http://www.linuxfromscratch.org/blfs/view/svn/general/openjdk.html
>
> ".../usr/bin/ld: cannot find -lX11"
>
> I have an LFS/BLFS system with X11, Qt and KDE. I have X11 in /usr/X11.

The linker doesn't search there automatically.  You need to specify the 
location.  Try:

export LIBRARY_PATH=/usr/X11/lib


   -- Bruce
-- 
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to