I have a problem installing glut 3.7 on my mandrake 7.2 box with a tnt2m64. It apparently installs ok, but when i try to compile my program (torus.c from the Opengl Redbook) i get the following:
gcc -o torus torus.c -lGL -lGLU -lglut
/usr/lib/libglut.so: undefined reference to XGetExtensionVersion' /usr/lib/libglut.so: undefined reference to XFreeDeviceList’
/usr/lib/libglut.so: undefined reference to XQueryDeviceState' /usr/lib/libglut.so: undefined reference to XListInputDevices’
/usr/lib/libglut.so: undefined reference to XFreeDeviceState' /usr/lib/libglut.so: undefined reference to XOpenDevice’
/usr/lib/libglut.so: undefined reference to XmuLookupStandardColormap' /usr/lib/libglut.so: undefined reference to XSelectExtensionEvent’
collect2: ld returned 1 exit status