A Quick libGL question

Hi everyone,
Sorry if this is slightly off topic but I’ve tried to get this sorted out in a
number of places without any luck and I’m out of ideas.

here’s the deal, When I try to run an OpenGL application (eg Quake2 with
OpenGL glx) they complain bitterly that libGL.so.1 could not be found yet the
file clearly exists on my system as a sym link in the usr/lib directory.
But it doesn’t exist in the usr/X11R6 directory

The PC is a SuSE 8.0 Linux box , Recent install.

Here’s the most important part…
When I try to compile sdl-1.2.4, one of the messages displayed by ./configure
is
checking for OpenGL (GLX) support… no

I can only assume that this is related.

Any help would be brilliant.

Thanks

Jason Farmer

Do you have /usr/lib/libGL.so ? You need that for compiling.

Id’s Quake 2 looked for opengl32.dll and will look for the file in the
directory Quake 2 is installed in for it. Suggest linking that to
libGL. I suspect relnev’s Quake2 (found on icculus.org) will not have
this problem.On Sat, Jul 06, 2002 at 12:52:23PM +0000, Jason Farmer wrote:

here’s the deal, When I try to run an OpenGL application (eg Quake2 with
OpenGL glx) they complain bitterly that libGL.so.1 could not be found yet the
file clearly exists on my system as a sym link in the usr/lib directory.
But it doesn’t exist in the usr/X11R6 directory

The PC is a SuSE 8.0 Linux box , Recent install.

Here’s the most important part…
When I try to compile sdl-1.2.4, one of the messages displayed by ./configure
is
checking for OpenGL (GLX) support… no

I can only assume that this is related.


Joseph Carter glDisable (DX8_CRAP);

  • Caytln slaps Lisa
    catfight :stuck_out_tongue:
    Watch it girl, I like that.
    :slight_smile:
    figures :smiley:

-------------- next part --------------
A non-text attachment was scrubbed…
Name: not available
Type: application/pgp-signature
Size: 273 bytes
Desc: not available
URL: http://lists.libsdl.org/pipermail/sdl-libsdl.org/attachments/20020706/97726b73/attachment.pgp

Hi Joseph,

I do have a libGL.so.1 in my /usr/lib directory.
It’s a symlink to /usr/lib/GL/libGL.so.1.2.xf86_glx

SuSE seem to be putting all library files into this directory now.

This caused me a few problems getting SDL_mixer to configure because it was
detecting the 1.2.3 version of SDL in the usr/lib directory and not the 1.2.4
version in usr/local/lib

Is this part of the new linux standards base?

I’ve been ripping my hair out all day trying to update SDL and all of its
buddies. I never seem to have any luck compiling SDL_mixer and getting it to
recognise the smpeg I have installed. Stress!!!

Anyway, If you guys can’t help me then I’ll have to look elsewhere. I don’t
really want this thread to evolve too much as it’s hopelessly off topic as it
is.

The only thing I can think of is that there is a config file or an enviroment
variable somewhere that points to the location of libGL.

well at least I leaned something. SuSE 8.0 linux does not like you installing
SDL in the default location of /usr/local/lib and SuSE 8.0 ships with
SDL.1.2.3 Which is a bit wierd considering that they went to town on getting
the latest version of KDE

Maybe we need to bear this in mind when writing games for non technical users
who don’t know how to update their systems.

Thanks

Jason> On Sat, Jul 06, 2002 at 12:52:23PM +0000, Jason Farmer wrote:

here’s the deal, When I try to run an OpenGL application (eg Quake2 with
OpenGL glx) they complain bitterly that libGL.so.1 could not be found yet
the file clearly exists on my system as a sym link in the usr/lib
directory. But it doesn’t exist in the usr/X11R6 directory

The PC is a SuSE 8.0 Linux box , Recent install.

Here’s the most important part…
When I try to compile sdl-1.2.4, one of the messages displayed by
./configure is
checking for OpenGL (GLX) support… no

I can only assume that this is related.

Do you have /usr/lib/libGL.so ? You need that for compiling.

Id’s Quake 2 looked for opengl32.dll and will look for the file in the
directory Quake 2 is installed in for it. Suggest linking that to
libGL. I suspect relnev’s Quake2 (found on icculus.org) will not have
this problem.