Red Hat Bugzilla – Bug 242048
Missing dependency on freeglut
Last modified: 2007-11-30 17:12:05 EST
My best guess is that this is a dependency problem with PyOpenGL... please
reassign if it's actually another package.
Description of problem:
Tried to enable 3d mode in glchess from gnome-games. It told me to install
Python GL and GtkGLExt bindings for this to work.
I did a "yum install pygtkglext" and "yum install PyOpenGL".
After this, glchess fails to start. (Silently, if running from the Gnome menu.)
This is due to a failure to load libglut.so.3. See attached output log.
"yum install freeglut" fixes this problem -- it appears it needs to be added as
a dependency to PyOpenGL.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. yum install PyOpenGL pygtkglext
2. $ glchess
Created attachment 155876 [details]
Strange, because PyOpenGL already requires freeglut:
[hans@shalem ~]$ rpm -q --requires PyOpenGL
python(abi) = 2.5
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(VersionedDependencies) <= 3.0.3-1
Could you try "rpm -q --requires PyOpenGL" on this system, as well as:
"rpm -q --whatprovides freeglut"
Maybe this is a x86_64 system and for some reason the i386 version of freeglut
was already installed?
Yes, that is exactly what happened - I had already pulled freeglut.i386 for
something else, so it didn't install the x86_64 freeglut when I installed
"rpm -q --requires PyOpenGL" looks the same as yours.
# rpm -q --whatprovides freeglut (after installing the x86_64 one)
Is there a way to have it depend on the 64 bit freeglut so that this doesn't happen?
(In reply to comment #3)
> Is there a way to have it depend on the 64 bit freeglut so that this doesn't
I'm afraid currently this isn't possible and in this specific case its even
harder to achieve as PyOpenGL is a noarch package.