http://bugs.winehq.org/show_bug.cgi?id=14631
Summary: ./configure fails to find opengl libraries Product: Wine Version: 1.1.2 Platform: Other OS/Version: other Status: UNCONFIRMED Severity: enhancement Priority: P2 Component: build-env AssignedTo: wine-bugs@winehq.org ReportedBy: atari@gabo.pl
Part of the output of ./configure:
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 -lGL... not found checking for -lGLU... libGLU.so.1 configure: error: No OpenGL library found on this system. OpenGL and Direct3D won't be supported. This is an error since --with-opengl was requested.
This is under Ubuntu Inrepid. I have nvidia-glx-177-dev package installed. I'm able to compile&run other OpenGL based software.
http://bugs.winehq.org/show_bug.cgi?id=14631
--- Comment #1 from Alexandre Julliard julliard@winehq.org 2008-07-25 13:35:31 --- Probably you don't have the 32-bit library. Check config.log.
http://bugs.winehq.org/show_bug.cgi?id=14631
--- Comment #2 from Adam Klobukowski atari@gabo.pl 2008-07-25 14:01:42 --- I'm running 32bit environment.
What should I look for in config.log?
http://bugs.winehq.org/show_bug.cgi?id=14631
--- Comment #3 from Alexandre Julliard julliard@winehq.org 2008-07-26 04:12:42 --- Look for the place where it tried to link to OpenGL and check what the error is.
http://bugs.winehq.org/show_bug.cgi?id=14631
--- Comment #4 from Adam Klobukowski atari@gabo.pl 2008-07-26 06:38:09 --- Created an attachment (id=15052) --> (http://bugs.winehq.org/attachment.cgi?id=15052) config.log (part)
Part of config.log related to the problem.
http://bugs.winehq.org/show_bug.cgi?id=14631
--- Comment #5 from Alexandre Julliard julliard@winehq.org 2008-07-26 09:48:17 --- configure:11140: gcc -o conftest -g -O2 conftest.c -lGL -lXext -lX11 -lm
&5
/usr/bin/ld: cannot find -lGL collect2: ld returned 1 exit status
The compiler can't find libGL, there's something wrong with your setup. What does "ls -al /usr/lib/libGL*" look like?
http://bugs.winehq.org/show_bug.cgi?id=14631
--- Comment #6 from Adam Klobukowski atari@gabo.pl 2008-07-26 10:03:27 --- e$ ls -al /usr/lib/libGL* lrwxrwxrwx 1 root root 19 2008-07-26 13:24 /usr/lib/libGLcore.so.1 -> libGLcore.so.177.13 -rw-r--r-- 1 root root 13837928 2008-07-18 13:29 /usr/lib/libGLcore.so.177.13 lrwxrwxrwx 1 root root 16 2008-02-20 15:31 /usr/lib/libGLEW.so.1.5 -> libGLEW.so.1.5.0 -rw-r--r-- 1 root root 225068 2008-02-11 17:48 /usr/lib/libGLEW.so.1.5.0 -rw-r--r-- 1 root root 664 2008-07-18 13:29 /usr/lib/libGL.la lrwxrwxrwx 1 root root 25 2008-07-26 13:25 /usr/lib/libGL.so -> /#usr/lib/libGL.so.177.13 lrwxrwxrwx 1 root root 15 2008-07-26 13:24 /usr/lib/libGL.so.1 -> libGL.so.177.13 -rw-r--r-- 1 root root 660676 2008-07-18 13:29 /usr/lib/libGL.so.177.13 -rw-r--r-- 1 root root 697744 2008-07-15 18:56 /usr/lib/libGLU.a lrwxrwxrwx 1 root root 11 2008-07-16 07:47 /usr/lib/libGLU.so -> libGLU.so.1 lrwxrwxrwx 1 root root 20 2008-07-16 07:47 /usr/lib/libGLU.so.1 -> libGLU.so.1.3.070100 -rw-r--r-- 1 root root 534160 2008-07-15 18:56 /usr/lib/libGLU.so.1.3.070100
I corrected invalid symlink, and everything is back ok. Sorry for invalid bug.
http://bugs.winehq.org/show_bug.cgi?id=14631
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #7 from Alexandre Julliard julliard@winehq.org 2008-07-26 11:12:24 --- Invalid then.
http://bugs.winehq.org/show_bug.cgi?id=14631
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #8 from Dmitry Timoshkov dmitry@codeweavers.com 2008-07-28 00:35:47 --- Closing.