Originally Posted by wilycoder
Any ideas what is throwing off the linker?
/usr/lib/gcc/x86_64-pc-linux-gnu/3.4.3/../../../../x86_64-pc-linux-gnu/bin/ld: cannot find -lGL
This means the include files in /usr/include/GL/* for compiling the app, not the libGL self.
The problem can be the path on a 64bit system, which was /usr/lib64, not /usr/lib on some distributions and/or no xorg-devel / libGL-devel package installed. Which distribution ?