On Wed, 16 May 2012 21:09:14 +0100
Bruce Dubbs <bruce.du...@gmail.com> wrote:

> I'm having a problem with freeglut and xorg being in /opt/xorg.
> 
> I get:
> 
> /bin/sh ../../../libtool --tag=CC   --mode=link gcc -I../../../include
>  -g -O2 -Wall -pedantic -export-dynamic  -o CallbackMaker
> CallbackMaker-CallbackMaker.o ../../../src/libglut.la -lGL -lXext
> -lX11
> 
> /usr/bin/ld: cannot find -lGL
> 
> Yet I have:
> 
> $ cat /etc/ld.so.conf
> # Begin /etc/ld.so.conf
> /usr/local/lib
> /opt/lib
> /opt/xorg/lib
> 
> and
> 
> $ ls /opt/xorg/lib/libGL*
> /opt/xorg/lib/libGL.so    /opt/xorg/lib/libGL.so.1.2  
> /opt/xorg/lib/libGLU.so.1
> /opt/xorg/lib/libGL.so.1  /opt/xorg/lib/libGLU.so
> /opt/xorg/lib/libGLU.so.1.3.08000
> 
> I can work around this, but why do I need to?  Any ideas?

I don't know, I always install xorg into /usr. Freeglut compiles
without any problem for me. I thought it was your idea to put Xorg
into /opt?

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

Reply via email to