This is exactly the same problem that bit Red Hat about a year ago, got me into a viscious flame war with Mike Harris, and ultimately led them to pull glut from their distribution entirely.
The issue is that glut (being ancient, crufty, unmaintaned, and slightly non-free) uses compile-time checking to look for OpenGL extensions. Around version 4.3, XFree86 implemented some SGIX extensions that glut uses. When compiled against XFree headers from 4.3+, glut generates a library with dependencies on those extension symbols.
But ATI and NVidia ship libGL.so's that don't implement them. Debian's glut will work against debian's libraries, but not against 3rd party ones.
The Mesa distribution has a version of glut that has been fixed to use runtime testing for this extension. The problem as I understand it, though, is that this distribution isn't quite compatible with glut's license terms. So no one wants to ship it.
What I've done on my system is compile a static glut from Mesa which I
put (by hand) into the FlightGear <prefix>/lib directory when I
build.
This might be another reason to look at plib's PW or SDL or at least moving away from glut?
Curt.
-- Curtis Olson Intelligent Vehicles Lab FlightGear Project Twin Cities [EMAIL PROTECTED] [EMAIL PROTECTED] Minnesota http://www.menet.umn.edu/~curt http://www.flightgear.org
_______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
