[wxPython-dev] Building wxWidgets + wxPython 2.9

Robin Dunn robin at alldunn.com
Sun Sep 9 14:36:33 PDT 2007


Gareth Simpson wrote:
> Thanks,
> 
> That seemed to work fine right up to the point where I tried to run 
> something with it.
> 
> Then I got the following error:
> 
> Gs-Mac:~/Perforce/DVDx/Development/Regionalization/3.0.0/src g$ python 
> RegTool.py
> Traceback (most recent call last):
>   File "RegTool.py", line 7, in <module>
>     import wx
>   File 
> "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/wx-2.9.0-mac-unicode/wx/__init__.py", 
> line 45, in <module>
>     from wx._core import *
>   File 
> "/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/wx-2.9.0-mac-unicode/wx/_core.py", 
> line 4, in <module>
>     import _core_
> ImportError: 
> dlopen(/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/wx-2.9.0-mac-unicode/wx/_core_.so, 
> 2): Symbol not found: __ZNK14wxOutputStream12GetClassInfoEv
>   Referenced from: 
> /Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/wx-2.9.0-mac-unicode/wx/_core_.so
>   Expected in: dynamic lookup
> 
> Is there anything that I might have obviously done wrong?


The only thing I can think of is it is trying to use the wrong version 
of the wxMac lib.  You can use otool -L on _core_.so to see what it is 
dynamically linking with.

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





More information about the wxpython-dev mailing list