Subject: Re: gle and -lGL
To: Jeremy C. Reed <reed@reedmedia.net>
From: Louis Guillaume <lguillaume@berklee.edu>
List: tech-pkg
Date: 11/30/2006 13:15:02
Jeremy C. Reed wrote:
>> checking for IceConnectionNumber in -lICE... yes
>> checking for glGetError in -lGL... no
>> configure: error: Cannot find required GL library
>> *** Error code 1
>
> Do you have a config.log (under work/gle* directory) that has more details
> about that?
Yes - looks like the the GL library in xorg/lib is missing some pthread
stuff... Any idea why this could happen??
Louis
configure:9184: $? = 0
configure:9187: test -s conftest
configure:9190: $? = 0
configure:9202: result: yes
configure:9222: checking for glGetError in -lGL
configure:9253: gcc -o conftest -O2 -I/usr/pkg/include
-DGLX_GLXEXT_LEGACY -I/usr/include -I/usr/pkg/include/freetype2 -Wall
-I/usr/pkg/include -DGLX_GLXEXT_LEGACY -I/usr/include
-I/usr/pkg/include/freetype2 -L/usr/pkg/xorg/lib -Wl,-R/usr/pkg/xorg/lib
-L/usr/pkg/lib -Wl,-R/usr/pkg/lib -L/usr/lib -Wl,-R/usr/lib conftest.c
-lGL -lSM -lICE -L/usr/pkg/xorg/lib -lX11 -lXext -lm >&5
/usr/pkgobj/graphics/gle/work/.x11-buildlink/lib/libGL.so: undefined
reference to `pthread_getspecific'
/usr/pkgobj/graphics/gle/work/.x11-buildlink/lib/libGL.so: undefined
reference to `pthread_once'
/usr/pkgobj/graphics/gle/work/.x11-buildlink/lib/libGL.so: undefined
reference to `pthread_key_create'
/usr/pkgobj/graphics/gle/work/.x11-buildlink/lib/libGL.so: undefined
reference to `pthread_setspecific'
collect2: ld returned 1 exit status
configure:9256: $? = 1
configure: failed program was:
...