[SOLVED] Fedora 9 32-bit WARNING: No OpenGL library found

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
eurodrew555
Level 1
Level 1
Posts: 9
Joined: Mon May 26, 2008 9:33 am

[SOLVED] Fedora 9 32-bit WARNING: No OpenGL library found

Post by eurodrew555 »

Hi,

I have checked and I have all recommended packages for Fedora (I'm running Fedora 9 32-bit).

When I download Wine 1.1.1 and attempt to configure from source I get the following output (grepping for gl to isolate opengl errors)

$ ./configure -verbose | grep -i gl

checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
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
checking for freetype/ftglyph.h... yes
config.status: creating dlls/glu32/Makefile
config.status: creating dlls/opengl32/Makefile
config.status: creating dlls/opengl32/tests/Makefile

configure: WARNING: No OpenGL library found on this system.
OpenGL and Direct3D won't be supported.

Yet if I install Wine using Yum I get full OpenGL support ?

The problem I have is Wine from Yum is only version:

wine-1.0-1.fc9.i386

When I would like to keep right up to date with the latest development version (with OpenGL support!)

glxgears -info

GL_RENDERER = Quadro FX 2500M/PCI/SSE2
GL_VERSION = 2.1.2 NVIDIA 173.14.09
GL_VENDOR = NVIDIA Corporation
GL_EXTENSIONS = GL_ARB_color_buffer_float GL_ARB_depth_texture GL_ARB_draw_buffers GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_half_float_pixel GL_ARB_imaging GL_ARB_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters GL_ARB_point_sprite GL_ARB_shadow GL_ARB_shader_objects GL_ARB_shading_language_100 GL_ARB_texture_border_clamp GL_ARB_texture_compression GL_ARB_texture_cube_map GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_dot3 GL_ARB_texture_float GL_ARB_texture_mirrored_repeat GL_ARB_texture_non_power_of_two GL_ARB_texture_rectangle GL_ARB_transpose_matrix GL_ARB_vertex_buffer_object GL_ARB_vertex_program GL_ARB_vertex_shader GL_ARB_window_pos GL_ATI_draw_buffers GL_ATI_texture_float GL_ATI_texture_mirror_once GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_depth_bounds_test GL_EXT_draw_range_elements GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXT_framebuffer_object GL_EXT_gpu_program_parameters GL_EXT_multi_draw_arrays GL_EXT_packed_depth_stencil GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_specular_color GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropicGL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_sRGB GL_EXT_timer_query GL_EXT_vertex_array GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KTX_buffer_region GL_NV_blend_square GL_NV_copy_depth_to_color GL_NV_depth_clamp GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragment_program GL_NV_fragment_program_option GL_NV_fragment_program2 GL_NV_framebuffer_multisample_coverage GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_pixel_data_range GL_NV_point_sprite GL_NV_primitive_restart GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_texgen_reflection GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_expand_normal GL_NV_texture_rectangle GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_vertex_array_range GL_NV_vertex_array_range2 GL_NV_vertex_program GL_NV_vertex_program1_1GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_NVX_conditional_render GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum
37894 frames in 5.0 seconds = 7577.164 FPS

The nVidia X server settings is showing:

GLX Information
Direct Rendering: Yes

As Wine installs and runs with OpenGL fine from Yum, I'm certain I have all the required packages installed.

$ find /usr -name '*libGL*'
/usr/lib/libGLcore.so.1
/usr/lib/libGL.so
/usr/lib/libGLcore.so.173.08
/usr/lib/libGL.la
/usr/lib/libGLU.so
/usr/lib/libGL.so.1.2
/usr/lib/libGLU.so.1.3.070100
/usr/lib/libGLU.so.1
/usr/lib/nvidia/libGLcore.so.1
/usr/lib/nvidia/libGL.so
/usr/lib/nvidia/libGLcore.so.173.14.09
/usr/lib/nvidia/libGLcore.so
/usr/lib/nvidia/libGL.so.1
/usr/lib/nvidia/libGL.so.173.14.09
/usr/lib/libGL.so.1
/usr/lib/libGL.so.173.08

Any idea as to why it can't find the libraries when installing from source ?

Thanks,
Andrew
Last edited by eurodrew555 on Sat Aug 02, 2008 8:21 am, edited 1 time in total.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Re: Fedora 9 32-bit WARNING: No OpenGL library found

Post by dimesio »

eurodrew555 wrote: Any idea as to why it can't find the libraries when installing from source ?
You're probably missing a development package. http://wiki.winehq.org/Recommended_Packages
eurodrew555
Level 1
Level 1
Posts: 9
Joined: Mon May 26, 2008 9:33 am

Post by eurodrew555 »

I've followed the Fedora guide on that page by installing:

yum install (as per below)

bison
flex
prelink
alsa-lib-devel
cups-devel
dbus-devel
esound-devel
fontconfig-devel
freetype-devel
giflib-devel
hal-devel
isdn4k-utils-devel
lcms-devel
libICE-devel
libjpeg-devel
libpng-devel
libSM-devel
libusb-devel
libX11-devel
libXau-devel
libXcomposite-devel
libXcursor-devel
libXext-devel
libXi-devel
libXinerama-devel
libxml2-devel
libXrandr-devel
libXrender-devel
libxslt-devel
libXt-devel
libXv-devel
libXxf86vm-devel
mesa-libGL-devel
ncurses-devel
openldap-devel
openssl-devel
pkgconfig
sane-backends-devel
xorg-x11-proto-devel

It still fails with exactly the same error (WARNING: No OpenGL library found), yet if I do 'yum install wine' I get full OpenGL support.

Andrew
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: Fedora 9 32-bit WARNING: No OpenGL library found

Post by vitamin »

eurodrew555 wrote:checking for -lGL... not found
checking for -lGL... not found
Reinstall your video drivers.
Francesco
Level 2
Level 2
Posts: 23
Joined: Fri Jul 18, 2008 3:51 pm

Post by Francesco »

Can you send the result of the following command : "ls /usr/lib/libGL* -lh"

You can also check in the "config.log" file what is the problem exactly :
- the library was not found
- or a symbol in the library was not found
eurodrew555
Level 1
Level 1
Posts: 9
Joined: Mon May 26, 2008 9:33 am

Post by eurodrew555 »

This is happening on two separate PCs both using Fedora 9 (they are virtually identical)

cat config.log | grep -i "not found"
configure:11168: result: not found
configure:11234: result: not found

#define HAVE_GL_GLU_H 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char glXCreateContext ();
| int
| main ()
| {
| return glXCreateContext ();
| ;
| return 0;
| }
configure:11168: result: not found
configure:11170: checking for -lGL
configure:11205: gcc -o conftest -g -O2 conftest.c -lGL -lXext -lX11 -lm -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib >&5
gcc: /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib: No such file or directory

ls /usr/lib/libGL* -lh
lrwxrwxrwx 1 root root 19 2008-05-20 12:29 /usr/lib/libGLcore.so.1 -> libGLcore.so.173.08
-rwxr-xr-x 1 root root 15M 2008-05-20 12:29 /usr/lib/libGLcore.so.173.08
-rw-r--r-- 1 root root 653 2008-05-20 12:29 /usr/lib/libGL.la
lrwxrwxrwx 1 root root 10 2008-07-09 07:10 /usr/lib/libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root 15 2008-07-09 07:06 /usr/lib/libGL.so.1 -> libGL.so.173.08
-rwxr-xr-x 1 root root 442K 2008-06-27 21:25 /usr/lib/libGL.so.1.2
-rwxr-xr-x 1 root root 702K 2008-05-20 12:29 /usr/lib/libGL.so.173.08
lrwxrwxrwx 1 root root 11 2008-07-09 07:11 /usr/lib/libGLU.so -> libGLU.so.1
lrwxrwxrwx 1 root root 20 2008-07-09 07:06 /usr/lib/libGLU.so.1 -> libGLU.so.1.3.070100
-rwxr-xr-x 1 root root 493K 2008-06-27 21:25 /usr/lib/libGLU.so.1.3.070100

I noticed I did not have mesa-libGLw or mesa-libGLw-devel installed, have installed it but still no OpenGL support.

yum list | grep -i libgl
libglade2.i386 2.6.2-5.fc9 installed
libglade2-devel.i386 2.6.2-5.fc9 installed
libglademm24.i386 2.6.6-1.fc9 installed
mesa-libGL.i386 7.1-0.37.fc9 installed
mesa-libGL-devel.i386 7.1-0.37.fc9 installed
mesa-libGLU.i386 7.1-0.37.fc9 installed
mesa-libGLU-devel.i386 7.1-0.37.fc9 installed
mesa-libGLw.i386 6.5.1-5.fc9 installed
mesa-libGLw-devel.i386 6.5.1-5.fc9 installed
pygtk2-libglade.i386 2.12.1-6.fc9 installed
Glide3-libGL.i386 6.2.1-8.fc9 fedora
glade3-libgladeui.i386 3.4.4-1.fc9 fedora
glade3-libgladeui-devel.i386 3.4.4-1.fc9 fedora
libglade.i386 1:0.17-21.fc9 fedora
libglade-devel.i386 1:0.17-21.fc9 fedora
libglade-java.i386 2.12.5-8.fc9 fedora
libglade-java-devel.i386 2.12.5-8.fc9 fedora
libglademm24-devel.i386 2.6.6-1.fc9 fedora
ruby-libglade2.i386 0.17.0-0.4.rc1.fc9 updates

$find /usr -name '*libGL.dylib*'

libGL.dylib is not present on the system.

$ find /usr -name '*libGL*'
/usr/lib/libGLcore.so.1
/usr/lib/libGLw.so.1.0.0
/usr/lib/libGL.so
/usr/lib/libGLcore.so.173.08
/usr/lib/libGL.la
/usr/lib/libGLU.so
/usr/lib/libGLw.so
/usr/lib/libGL.so.1.2
/usr/lib/libGLU.so.1.3.070100
/usr/lib/libGLU.so.1
/usr/lib/nvidia/libGLcore.so.1
/usr/lib/nvidia/libGL.so
/usr/lib/nvidia/libGLcore.so.173.14.09
/usr/lib/nvidia/libGLcore.so
/usr/lib/nvidia/libGL.so.1
/usr/lib/nvidia/libGL.so.173.14.09
/usr/lib/libGL.so.1
/usr/lib/libGL.so.173.08
/usr/lib/libGLw.so.1
/usr/share/doc/mesa-libGLw-6.5.1
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

eurodrew555 wrote:configure:11205: gcc -o conftest -g -O2 conftest.c -lGL -lXext -lX11 -lm -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib >&5
Did you messed with LDFLAGS or anything like that? I don't have any "-dylib_file" here. Looks like a conf or system problem.
Francesco
Level 2
Level 2
Posts: 23
Joined: Fri Jul 18, 2008 3:51 pm

Post by Francesco »

Well, you're under Fedora right ? I don't know dylib but after few researches, it seems to be Mac OS X related. So, my question : why have you this flag ???????

Can you copy & paste the beginning of the "core tests" section from "config.log" ? I would like to verify eveything is ok with your system configuration detection.

For example, on my laptop, I have :
## ----------- ##
## Core tests. ##
## ----------- ##

configure:2132: checking build system type
configure:2150: result: i686-pc-linux-gnu
configure:2172: checking host system type
configure:2187: result: i686-pc-linux-gnu
configure:2253: checking whether make sets $(MAKE)
configure:2274: result: yes
configure:2331: checking for gcc
configure:2347: found /usr/bin/gcc
configure:2358: result: gcc
configure:2596: checking for C compiler version
configure:2603: gcc --version >&5
gcc (GCC) 4.1.2 (Gentoo 4.1.2 p1.1)
Copyright (C) 2006 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2606: $? = 0
configure:2613: gcc -v >&5
Using built-in specs.
Target: i686-pc-linux-gnu
eurodrew555
Level 1
Level 1
Posts: 9
Joined: Mon May 26, 2008 9:33 am

Post by eurodrew555 »

Yes I'm running Fedora 9 on both systems, and they both have exactly the same issue.

## ----------- ##
## Core tests. ##
## ----------- ##

configure:2132: checking build system type
configure:2150: result: i686-pc-linux-gnu
configure:2172: checking host system type
configure:2187: result: i686-pc-linux-gnu
configure:2253: checking whether make sets $(MAKE)
configure:2274: result: yes
configure:2331: checking for gcc
configure:2347: found /usr/lib/ccache/gcc
configure:2358: result: gcc
configure:2596: checking for C compiler version
configure:2603: gcc --version >&5
gcc (GCC) 4.3.0 20080428 (Red Hat 4.3.0-8)
Copyright (C) 2008 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2606: $? = 0
configure:2613: gcc -v >&5
Using built-in specs.
Target: i386-redhat-linux
Configured with: ../configure --prefix=/usr --mandir=/usr/share/man --infodir=/usr/share/info --with-bugurl=http://bugzilla.redhat.com/bugzilla --enable-bootstrap --enable-shared --enable-threads=posix --enable-checking=release --with-sy
stem-zlib --enable-__cxa_atexit --disable-libunwind-exceptions --enable-languages=c,c++,objc,obj-c++,java,fortran,ada --enable-java-awt=gtk --disable-dssi --enable-plugin --with-java-home=/usr/lib/jvm/java-1.5.0-gcj-1.5.0.0/jre --enable-
libgcj-multifile --enable-java-maintainer-mode --with-ecj-jar=/usr/share/java/eclipse-ecj.jar --disable-libjava-multilib --with-cpu=generic --build=i386-redhat-linux
Francesco
Level 2
Level 2
Posts: 23
Joined: Fri Jul 18, 2008 3:51 pm

Post by Francesco »

It seems strange to me that your host system is i686-pc-linux-gnu and the target is i386-redhat-linux !

Try ./configure --build=i686-pc-linux-gnu and :
- if there is always the OpenGL problem, check the target is "i686-pc-linux-gnu" instead of "i386-redhat-linux "
- if everything is ok, enjoy ;-)
eurodrew555
Level 1
Level 1
Posts: 9
Joined: Mon May 26, 2008 9:33 am

Post by eurodrew555 »

Still no go unfortunately...

$ ./configure --build=i686-pc-linux-gnu | grep -i gl
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
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
checking for freetype/ftglyph.h... yes
config.status: creating dlls/glu32/Makefile
config.status: creating dlls/opengl32/Makefile
config.status: creating dlls/opengl32/tests/Makefile

configure: WARNING: No OpenGL library found on this system.
OpenGL and Direct3D won't be supported.
Francesco
Level 2
Level 2
Posts: 23
Joined: Fri Jul 18, 2008 3:51 pm

Post by Francesco »

Ok. I've just seen an interesting thing. You've got 2 different versions of libGL.

What is the output of the following command : 'ldd /usr/bin/glxgears | grep libGL'
eurodrew555
Level 1
Level 1
Posts: 9
Joined: Mon May 26, 2008 9:33 am

Post by eurodrew555 »

This is the output:

$ ldd /usr/bin/glxgears | grep libGL
libGL.so.1 => /usr/lib/nvidia/libGL.so.1 (0x06323000)
libGLcore.so.1 => /usr/lib/nvidia/libGLcore.so.1 (0x02000000)
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

eurodrew555 wrote:This is the output:

$ ldd /usr/bin/glxgears | grep libGL
libGL.so.1 => /usr/lib/nvidia/libGL.so.1 (0x06323000)
libGLcore.so.1 => /usr/lib/nvidia/libGLcore.so.1 (0x02000000)
Did you do what I asked you to do - reinstall your video driver?
eurodrew555
Level 1
Level 1
Posts: 9
Joined: Mon May 26, 2008 9:33 am

Post by eurodrew555 »

I have removed the nvidia drivers (yum remove kmod-ndivida) and also removed mesa-libGL* (yum remove mesa-libGL*) which removed a lot of libraries and quite a few apps.

I have reinstalled kmod-nvidia and all the recommended dependencies from Wine HQ (for Fedora) and the same problem still exists.

$ ./configure -v | grep -i gl
checking jpeglib.h usability... yes
checking jpeglib.h presence... yes
checking for jpeglib.h... yes
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
checking for freetype/ftglyph.h... yes
config.status: creating dlls/glu32/Makefile
config.status: creating dlls/opengl32/Makefile
config.status: creating dlls/opengl32/tests/Makefile

configure: WARNING: No OpenGL library found on this system.
OpenGL and Direct3D won't be supported.

I'm due to do a rebuild on my laptop as I want to enable encryption so I'll see if that resolves the problem, otherwise I suppose I'll just continue to use Wine using the RPMs as OpenGL does work OK that way.

Thanks for all your suggestions.

Andrew
Francesco
Level 2
Level 2
Posts: 23
Joined: Fri Jul 18, 2008 3:51 pm

Post by Francesco »

I think you have a bad symlink, because glxgears is link with libGL.so.1 located in the /usr/lib/nvidia folder but "/usr/lib/libGL.so.1" is a symlink to libGL.so.173.08

can you try the following command :
ln -sf nvidia/libGL.so.1 /usr/lib/libGL.so.1

and try to run configure script.

If it doesn't work execute "ln -sf libGL.so.173.08 /usr/lib/libGL.so.1" to reverse the previous command.
eurodrew555
Level 1
Level 1
Posts: 9
Joined: Mon May 26, 2008 9:33 am

Post by eurodrew555 »

OK I have rebuilt my laptop and wine-1.1.1 now builds with OpenGL support.
Thanks for all the advice, it does look like the config got messed up somehow:

GOOD Configuration (on new rebuild)

lrwxrwxrwx 1 root root 10 2008-07-24 16:01 libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root 12 2008-07-24 15:59 libGL.so.1 -> libGL.so.1.2
-rwxr-xr-x 1 root root 442K 2008-06-27 21:25 libGL.so.1.2
lrwxrwxrwx 1 root root 11 2008-07-24 16:01 libGLU.so -> libGLU.so.1
lrwxrwxrwx 1 root root 20 2008-07-24 15:59 libGLU.so.1 -> libGLU.so.1.3.070100
-rwxr-xr-x 1 root root 490K 2008-06-27 21:25 libGLU.so.1.3.070100

BAD Configuration (on other PC)

-rw-r--r-- 1 root root 653 2008-05-19 23:45 libGL.la
lrwxrwxrwx 1 root root 10 2008-07-24 09:10 libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root 15 2008-07-24 09:10 libGL.so.1 -> libGL.so.173.08
-rwxr-xr-x 1 root root 442K 2008-06-27 21:25 libGL.so.1.2
-rwxr-xr-x 1 root root 702K 2008-05-19 23:45 libGL.so.173.08
lrwxrwxrwx 1 root root 11 2008-07-24 09:13 libGLU.so -> libGLU.so.1
lrwxrwxrwx 1 root root 20 2008-07-24 09:13 libGLU.so.1 -> libGLU.so.1.3.070100
-rwxr-xr-x 1 root root 490K 2008-06-27 21:25 libGLU.so.1.3.070100

Cheers,
Andrew
James McKenzie

Fedora 9 32-bit WARNING: No OpenGL library found

Post by James McKenzie »

eurodrew555 wrote:
This is happening on two separate PCs both using Fedora 9 (they are virtually identical)

cat config.log | grep -i "not found"
configure:11168: result: not found
configure:11234: result: not found

#define HAVE_GL_GLU_H 1
| /* end confdefs.h. */
|
| /* Override any GCC internal prototype to avoid an error.
| Use char because int might match the return type of a GCC
| builtin and then its argument prototype would still apply. */
| #ifdef __cplusplus
| extern "C"
| #endif
| char glXCreateContext ();
| int
| main ()
| {
| return glXCreateContext ();
| ;
| return 0;
| }
configure:11168: result: not found
configure:11170: checking for -lGL
configure:11205: gcc -o conftest -g -O2 conftest.c -lGL -lXext -lX11 -lm -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib >&5
gcc: /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib: No such file or directory
This file should not exist on Fedora 9, it is a MacOSX 10.4/10.5 file.
Something is definitely wrong with the way that the ./configure program
is running.
ls /usr/lib/libGL* -lh
lrwxrwxrwx 1 root root 19 2008-05-20 12:29 /usr/lib/libGLcore.so.1 -> libGLcore.so.173.08
-rwxr-xr-x 1 root root 15M 2008-05-20 12:29 /usr/lib/libGLcore.so.173.08
-rw-r--r-- 1 root root 653 2008-05-20 12:29 /usr/lib/libGL.la
lrwxrwxrwx 1 root root 10 2008-07-09 07:10 /usr/lib/libGL.so -> libGL.so.1
lrwxrwxrwx 1 root root 15 2008-07-09 07:06 /usr/lib/libGL.so.1 -> libGL.so.173.08
-rwxr-xr-x 1 root root 442K 2008-06-27 21:25 /usr/lib/libGL.so.1.2
-rwxr-xr-x 1 root root 702K 2008-05-20 12:29 /usr/lib/libGL.so.173.08
lrwxrwxrwx 1 root root 11 2008-07-09 07:11 /usr/lib/libGLU.so -> libGLU.so.1
lrwxrwxrwx 1 root root 20 2008-07-09 07:06 /usr/lib/libGLU.so.1 -> libGLU.so.1.3.070100
-rwxr-xr-x 1 root root 493K 2008-06-27 21:25 /usr/lib/libGLU.so.1.3.070100

I noticed I did not have mesa-libGLw or mesa-libGLw-devel installed, have installed it but still no OpenGL support.

yum list | grep -i libgl
libglade2.i386 2.6.2-5.fc9 installed
libglade2-devel.i386 2.6.2-5.fc9 installed
libglademm24.i386 2.6.6-1.fc9 installed
mesa-libGL.i386 7.1-0.37.fc9 installed
mesa-libGL-devel.i386 7.1-0.37.fc9 installed
mesa-libGLU.i386 7.1-0.37.fc9 installed
mesa-libGLU-devel.i386 7.1-0.37.fc9 installed
mesa-libGLw.i386 6.5.1-5.fc9 installed
mesa-libGLw-devel.i386 6.5.1-5.fc9 installed
pygtk2-libglade.i386 2.12.1-6.fc9 installed
Glide3-libGL.i386 6.2.1-8.fc9 fedora
glade3-libgladeui.i386 3.4.4-1.fc9 fedora
glade3-libgladeui-devel.i386 3.4.4-1.fc9 fedora
libglade.i386 1:0.17-21.fc9 fedora
libglade-devel.i386 1:0.17-21.fc9 fedora
libglade-java.i386 2.12.5-8.fc9 fedora
libglade-java-devel.i386 2.12.5-8.fc9 fedora
libglademm24-devel.i386 2.6.6-1.fc9 fedora
ruby-libglade2.i386 0.17.0-0.4.rc1.fc9 updates

$find /usr -name '*libGL.dylib*'

libGL.dylib is not present on the system.

This is a good thing that this file does not exist.
$ find /usr -name '*libGL*'
/usr/lib/libGLcore.so.1
/usr/lib/libGLw.so.1.0.0
/usr/lib/libGL.so
/usr/lib/libGLcore.so.173.08
/usr/lib/libGL.la
/usr/lib/libGLU.so
/usr/lib/libGLw.so
/usr/lib/libGL.so.1.2
/usr/lib/libGLU.so.1.3.070100
/usr/lib/libGLU.so.1
/usr/lib/nvidia/libGLcore.so.1
/usr/lib/nvidia/libGL.so
/usr/lib/nvidia/libGLcore.so.173.14.09
/usr/lib/nvidia/libGLcore.so
/usr/lib/nvidia/libGL.so.1
/usr/lib/nvidia/libGL.so.173.14.09
/usr/lib/libGL.so.1
/usr/lib/libGL.so.173.08
/usr/lib/libGLw.so.1
/usr/share/doc/mesa-libGLw-6.5.1
Might be that your NVIDIA Linux drivers are not configured correctly.
Can you do what vitamin requested and reinstall the drivers?

James McKenzie
eurodrew555
Level 1
Level 1
Posts: 9
Joined: Mon May 26, 2008 9:33 am

[SOLVED] Fedora 9 32-bit WARNING: No OpenGL library found

Post by eurodrew555 »

After reviewing the sym links on my rebuilt Fedora 9 system, I was able to resolve this problem with the following:

cd /usr/lib
rm libGL.so.1
ln -s libGL.so.1.2 libGL.so.1

It was the symbolic link of libGL.so.1 that was the problem.

After correcting this Wine compiles with OpenGL - I have tested with Call of Duty 2 and it works great!

Cheers,
Andrew
Locked