Bug 126067 - Weird symbols and filename behavior compiling Python modules
Summary: Weird symbols and filename behavior compiling Python modules
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: python
Version: 2
Hardware: i686
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Mihai Ibanescu
QA Contact: Brock Organ
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2004-06-15 18:37 UTC by Richard Plana
Modified: 2007-11-30 22:10 UTC (History)
2 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2005-09-30 16:04:33 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.