graphics/libglut busted?

Eric Anholt eta at lclark.edu
Tue Sep 28 20:06:01 PDT 2004


On Tue, 2004-09-28 at 17:11, Daniel O'Connor wrote:
> I have this _weird_ compiler error with libglut..
> midget# make
> ===>  Vulnerability check disabled
> ===>  Extracting for libglut-6.0.1
> >> Checksum OK for MesaDemos-6.0.1.tar.bz2.
> ===>  Patching for libglut-6.0.1
> /bin/cp /usr/ports/graphics/libglut/files/Makefile /tmp/work/usr/ports/graphics/libglut/work/Mesa-6.0.1/src/glut/glx/
> ===>   libglut-6.0.1 depends on shared library: X11.6 - found
> ===>  Configuring for libglut-6.0.1
> ===>  Building for libglut-6.0.1
> Warning: Object directory not changed from original /usr/tmp/work/usr/ports/graphics/libglut/work/Mesa-6.0.1/src/glut/glx
...
> cc -O -pipe   -I../../../include -I/usr/X11R6/include  -c glut_win.c -o glut_win.o
> cc -O -pipe   -I../../../include -I/usr/X11R6/include  -c glut_winmisc.c -o glut_winmisc.o
> cc -O -pipe   -I../../../include -I/usr/X11R6/include  -c layerutil.c -o layerutil.o
> building static glut library
> ranlib libglut.a
> cc -fpic -DPIC -O -pipe   -I../../../include -I/usr/X11R6/include  -c glut_8x13.c -o glut_8x13.So
> /usr/libexec/elf/ld: cannot find -lGL
> *** Error code 1
> 
> Why the heck is it looking for GL anyway? :(

I seem to recall this issue being related to the nvidia binary driver
being installed.  No clue why, and it would be neat if someone figured
out why.

-- 
Eric Anholt                                eta at lclark.edu          
http://people.freebsd.org/~anholt/         anholt at FreeBSD.org




More information about the freebsd-ports mailing list