Is /usr/X11R6/lib included in your /etc/ld.so.conf file? If not, add it (along with the paths of any other GL-related libraries, if they are located elsewhere), and be sure to run 'ldconfig' as root afterwards.
Whenever I compile openGL stuff, I usually need to use: -lGL -lGLU -lglut
|