From Bugzilla Helper: User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040510 Description of problem: While trying to compile PyOpenGL-2.0.1.07, I end up with following error importing OpenGL in python: ImportError: No module named _GL__init__ I symlink /usr/lib/python2.3/site-packages/OpenGL/GL/GL__init___.so -> GL__init__.so and try 'import OpenGL' to get the ff. error: ImportError: dynamic module does not define init function (initGL__init__) Doing an 'nm GL__init___.so' shows there's no symbol initGL__init__ defined, but there is an init_GL__init__ defined. PyOpenGL and Python developers have noted that this problem pops up in RedHat and Fedora Core distributions. Version-Release number of selected component (if applicable): python-2.3.3-6 swig-1.3.19-6.1 How reproducible: Always Steps to Reproduce: See Description above. Additional info:
Can you post a link to the source rpm you were using?
Please try the pyopengl-2.0.1.07 package (source in .tar.gz) from http://pyopengl.sourceforge.net/ Do a $ python setup.py install after satisfying all the requirement then try $ echo "import OpenGL" | python Please check out these posts to the pyopengl-users mailing list, as well: http://sourceforge.net/mailarchive/forum.php?thread_id=4958921&forum_id=4353 http://sourceforge.net/mailarchive/forum.php?thread_id=4934386&forum_id=4353 http://sourceforge.net/mailarchive/forum.php?thread_id=4938994&forum_id=4353
Fedora Core 2 is now maintained by the Fedora Legacy project for security updates only. If this problem is a security issue, please reopen and reassign to the Fedora Legacy product. If it is not a security issue and hasn't been resolved in the current FC3 updates or in the FC4 test release, reopen and change the version to match.