Bug 126067

Summary: Weird symbols and filename behavior compiling Python modules
Product: [Fedora] Fedora Reporter: Richard Plana <richiplana>
Component: pythonAssignee: Mihai Ibanescu <mihai.ibanescu>
Status: CLOSED WONTFIX QA Contact: Brock Organ <borgan>
Severity: medium Docs Contact:
Priority: medium    
Version: 2CC: katzj, mattdm
Target Milestone: ---   
Target Release: ---   
Hardware: i686   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2005-09-30 16:04:33 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Richard Plana 2004-06-15 18:37:44 UTC
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:

Comment 1 Mihai Ibanescu 2004-06-16 20:44:29 UTC
Can you post a link to the source rpm you were using?

Comment 2 Richard Plana 2004-06-20 00:06:34 UTC
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


Comment 3 Matthew Miller 2005-04-26 15:56:44 UTC
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.