[GRASSLIST:3435] Re: -lGL openlib error on grass57 cvs code

Glynn Clements glynn.clements at virgin.net
Mon May 17 15:41:48 EDT 2004


> When I compile cvs version of grass57 I get:
> ....................-lgrass_sites  -o 
> /usr/local/grass57/dist.i686-pc-linux-gnu/lib/libgrass_ogsf.so
> /usr/bin/ld: cannot find -lGL
> collect2: ld returned 1 exit status
> make[1]: *** [/usr/local/grass57/dist.i686-pc-linux-gnu/lib/libgrass_ogsf.so] 
> Error 1
> make[1]: Leaving directory `/usr/local/grass57/lib/ogsf'
> make: *** [subdirs] Error 1
> Meaning that it does not like my OpenGL when compiling libgrass_ogsf.so
> Does anyone know what the problem could be?

The problem is that it can't find it. Maybe you need to use the
--with-opengl-libs= switch.

Glynn Clements <glynn.clements at virgin.net>

More information about the grass-user mailing list