Re: [Plib-users] ./configure opengl problem
Brought to you by:
sjbaker
From: Steve B. <sjb...@ai...> - 2002-11-07 00:42:37
|
McEvoy, Nick wrote: > But I've hit a problem (already) trying to build plib-1.6.0 ! > > I have installed required software eg. opengl & glut3.7 ... but ./configure says "configure: error: could not find working GL library" ... whats going on ? > > (nb. I installed XFree86-devel ... the RPM says it provides Mesa-devel ... I seem to have all the right libraries) > ----- my error ----- > ./configure --with-GL=/usr ^^^^^^^^^^^^^^ Why this? > /usr/X11R6/lib/libGL.a(glthread.o): In function `_glthread_InitTSD': > glthread.o(.text+0x28): undefined reference to `pthread_key_create' It seems to be missing Pthreads (-lpthread) Some versions of Mesa need it - and are not pre-linked with it...so OpenGL applications under Linux are recommended to link to pthreads even if they don't explicitly need it. I've never seen this be a problem with ./configure though. Does a straight "./configure" without the "--with-GL=/usr" work? ---------------------------- Steve Baker ------------------------- HomeEmail: <sjb...@ai...> WorkEmail: <sj...@li...> HomePage : http://web2.airmail.net/sjbaker1 Projects : http://plib.sf.net http://tuxaqfh.sf.net http://tuxkart.sf.net http://prettypoly.sf.net |