OpenGL demo prog crashes on 11.1 ?

See:
http://www.opengl.org/resources/code/samples/glut_examples/contrib/rings.c
This is demo program for OpenGL; it should build and run OK using the Mesa OpenGL library and freeglut. On OpenSUSE 11.0 it works OK.
But on 11.1 it gets a segmentation fault, apparently in ‘libGL’, which is the Mesa library.
The same problem occurs with all other programs that use these libraries.
Something seems broken here. Any ideas ?

I didn’t have any problems with segfaults on 11.1. I have these packages installed:

kenn@loki:~/Desktop> rpm -qa | egrep -i "mesa|glut"
freeglut-devel-080721-20.1
Mesa-32bit-7.2-10.1
freeglut-080721-20.1
Mesa-7.2-10.1
Mesa-devel-7.2-10.1

However, my executable is linked against the Nvida libGL. What kind of video card do you have?

Thanks.
I have the same packages as you, except I don’t have the one named ‘Mesa-32bit…’. Where did that come from ? I can’t see it in the software installer list…
I have a MB with an on-board NVIDIA 7100 GPU. I have not installed a graphics card. Should I have installed an NVIDIA driver ? I don’t think I have done that.
I don’t understand your comment about the Nvidia libGL. Is that something I should have installed as well ?
AM

I always install the Nvidia driver the “hard way”, that is I download the installer and manually run it. Part of the install process looks in /usr/lib and /usr/lib64 and makes symlinks ot libraries provided by nvidia.

Installing the Nvidia driver would allow you to link against Nvidia’s libGL (probably what you want).

I probably don’t need the mesa 32 bit package. It was probably pulled in when I did the “pull in all -devel packages” thing in yast.

Thanks - I just installed the Nvidia driver from the OpenSUSE website, and the problem seems fixed.