Red Hat Bugzilla – Bug 6062
Multiple shared libraries with same methods defined
Last modified: 2008-05-01 11:37:52 EDT
I have 2 shared libraries that both define symbols of the
same name. When I import these modules into python and call
the method with the shared name, I always exectue the method
of the last module imported.
Ex: If I have 2 shared modules written in C, each with a
different module name, but both having a function called
foo, the following code breaks.
A.foo() #Really calls B.foo
My code that uses this was originally written and worked
with the non-redhat rpms available at
The requested URL /python/files/python-1.5.2-2.src.rpm was not found
on this server.
Binary rpms don't do us much good... :-)
Unfortunately, the patch that I believe breaks this for you appears
to have been added to fix something else. I'm assigning this bug
to the developer who added that patch. (Matt, it's
python-1.5.2-dl-global.patch -- what's this about libtool, and why
is the patch there in the first place?)
Unfortunately I can't address this until we start using the Python 2.0 package.