[Pythonmac-SIG] OS X wxPython.xrc and pyexpat conflict.

Robin Dunn robin@alldunn.com
Thu, 19 Dec 2002 13:33:31 -0800


OS X 10.2.x
MachoPython 2.2.x
PyXML 0.8.x

The wxPython.xrc module includes a copy of the expat lib, and PyXML's 
pyexpat module does as well.  When both are imported into Python on OS X 
an ImportError "Failure linking new module" results presumably because 
of conflicts between the two copies of expat.  They seem to coexist okay 
on Linux and Win32 platforms.  Does anyone have any suggestions for 
getting them to play nice with each other on OS X?  Is there an easy way 
to hide the expat symbols in the XRC library for example?

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!