[Plib-users] Can't find Glut
Brought to you by:
sjbaker
From: Sid O. <si...@bi...> - 2003-08-18 04:08:24
|
Hello, When I configure Plib-1.6.0, I get an error message saying it can't find a working Glut library. I have looked in the config.log file but that is like gobbledygook to me. Following is an excerpt from config.log: configure:2695: checking for gluLookAt in -lGLU configure:2714: gcc -o conftest -g -O2 -I/usr/lib/include -L/usr/lib/lib -L/usr/X11R6/lib conftest.c -lGLU -lGL -lSM -lICE -lXi -lXmu -lXext -lX11 -lm 1>&5 configure:2793: checking for glutGetModifiers in -lfreeglut configure:2812: gcc -o conftest -g -O2 -I/usr/lib/include -L/usr/lib/lib -L/usr/X11R6/lib conftest.c -lfreeglut -lGLU -lGL -lSM -lICE -lXi -lXmu -lXext -lX11 -lm 1>&5 /usr/bin/ld: cannot find -lfreeglut collect2: ld returned 1 exit status configure: failed program was: #line 2801 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char glutGetModifiers(); int main() { glutGetModifiers() ; return 0; } configure:2841: checking for glutGetModifiers in -lglut configure:2860: gcc -o conftest -g -O2 -I/usr/lib/include -L/usr/lib/lib -L/usr/X11R6/lib conftest.c -lglut -lGLU -lGL -lSM -lICE -lXi -lXmu -lXext -lX11 -lm 1>&5 /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libglut.so: undefined reference to `glXBindChannelToWindowSGIX' /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libglut.so: undefined reference to `glXQueryChannelDeltasSGIX' /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libglut.so: undefined reference to `glXChannelRectSyncSGIX' /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libglut.so: undefined reference to `glXChannelRectSGIX' /usr/lib/gcc-lib/i386-redhat-linux/3.2.2/../../../libglut.so: undefined reference to `glXQueryChannelRectSGIX' collect2: ld returned 1 exit status configure: failed program was: #line 2849 "configure" #include "confdefs.h" /* Override any gcc2 internal prototype to avoid an error. */ /* We use char because int might match the return type of a gcc2 builtin and then its argument prototype would still apply. */ char glutGetModifiers(); int main() { glutGetModifiers() ; return 0; } I hope someone can make some sense out of this. My libraries are all in /usr/lib. Thanks, Sid Owen |