[Wine] Compiling 0.9.4x on Fedora 6 32bit - OpenGL not found warning

Brandon Evans maillists at hosttuls.com
Wed Sep 19 17:52:47 CDT 2007

I have been compiling my own wine RPMs using the fedora extras .spec 
file for a while now.
Normally after very little editing of the .spec, the wine RPMs build and 
I am running the latest & greatest wine.

Now I am having problems building *any* wine rpms ( including some of 
the 0.9.3x versions) on my yum updated Fedora core 6 box.

Even when I extract a fresh copy of wine-0.9.42.tar.bz2 through 
wine-0.9.45.tar.bz2 and run ./confgiure, the compile script complains 
about no OpenGL libraries. I have double checked and they are on my 
system.  Right now I am digging through the configure, configure.ac and 
aclocal.m4 files to try to hunt down the problem.  Mainly I'm trying to 
figure out what .so it is looking for and where.  Those 3 files are all 
unfamiliar  territory for me though.
Currently I am running wine-0.9.42-1.fc6 fedora 6 extras rpms and wine 
is running some games fine.  Even so, I have my reasons for wanting to 

Here is the error I get after the ./configure

checking for XRenderSetPictureTransform in -lXrender... yes
checking for -lXrandr... libXrandr.so.2
checking for -lXinerama... libXinerama.so.1
checking for GL/gl.h... yes
checking for GL/glx.h... yes
checking for GL/glext.h... yes
checking for GL/glu.h... yes
checking for up-to-date OpenGL version... yes
checking for -lGL... not found
checking for gluLookAt in -lGLU... yes
checking audio/audiolib.h usability... no
checking audio/audiolib.h presence... no

configure: WARNING: No OpenGL library found on this system.
Wine will be build without OpenGL or Direct3D support.

And some more info about my system:

[work wine-0.9.45]# ldconfig -v | grep -i gl
         libGL.so.1 -> libGL.so.100.14.11
         libGLcore.so.1 -> libGLcore.so.100.14.11
         libglib-2.0.so.0 -> libglib-2.0.so.0.1200.9
         libdbus-glib-1.so.2 -> libdbus-glib-1.so.2.0.0
         libglut.so.3 -> libglut.so.3.8.0
         libGLw.so.1 -> libGLw.so.1.0.0
         libglade-2.0.so.0 -> libglade-2.0.so.0.0.7
         libGL.so.1 -> libGL.so.1.0.9631
         libgladejava-2.12.so -> libgladejava-2.12.so
         libpoppler-glib.so.1 -> libpoppler-glib.so.1.0.0
         libgladejni-2.12.so -> libgladejni-2.12.so
         libwx_gtk2u_gl-2.6.so.0 -> libwx_gtk2u_gl-2.6.so.0.3.1
         libglibjava-0.2.so -> libglibjava-0.2.so
         libglibjni-0.2.so -> libglibjni-0.2.so
         libavahi-glib.so.1 -> libavahi-glib.so.1.0.1
         libnm_glib.so.0 -> libnm_glib.so.0.0.0
         libx11globalcomm.so.1 -> libx11globalcomm.so.1.0.0
         libGLcore.so.1 -> libGLcore.so.1.0.9631
         libwx_gtk2u_ogl-2.6.so.0 -> libwx_gtk2u_ogl-2.6.so.0.3.1
         libGLU.so.1 -> libGLU.so.1.3.060501

[work wine-0.9.45]# ls -al /usr/lib/libGL*
lrwxrwxrwx 1 root root      21 Apr 27 15:08 /usr/lib/libGLcore.so.1 -> 
-rwxr-xr-x 1 root root 9338856 Apr 27 15:08 /usr/lib/libGLcore.so.1.0.9631
-rw-r--r-- 1 root root     653 Apr 27 15:08 /usr/lib/libGL.la
lrwxrwxrwx 1 root root      10 Apr 27 15:08 /usr/lib/libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root      17 Apr 27 15:08 /usr/lib/libGL.so.1 -> 
-rwxr-xr-x 1 root root  609124 Apr 27 15:08 /usr/lib/libGL.so.1.0.9631
lrwxrwxrwx 1 root root      11 Apr 24 21:31 /usr/lib/libGLU.so -> 
lrwxrwxrwx 1 root root      20 Apr 24 21:30 /usr/lib/libGLU.so.1 -> 
-rwxr-xr-x 1 root root  527328 Jan 24  2007 /usr/lib/libGLU.so.1.3.060501
lrwxrwxrwx 1 root root      11 Sep 14 14:58 /usr/lib/libGLw.so -> 
lrwxrwxrwx 1 root root      15 Sep 14 14:58 /usr/lib/libGLw.so.1 -> 
-rwxr-xr-x 1 root root   17496 Sep 29  2006 /usr/lib/libGLw.so.1.0.0


   Brandon Evans

"I have a theory that the truth is never told during the nine-to-five 
-Hunter S. Thompson

More information about the wine-users mailing list