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

/usr/bin/ld: cannot find -lGL

Yet I have:

$ cat /etc/ld.so.conf
# Begin /etc/ld.so.conf


$ 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

I can work around this, but why do I need to?  Any ideas?

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

Reply via email to