Solaris, python and wxPython
jason petrone
jp at NOSPAMdemonseed.net
Mon Aug 20 12:51:41 EDT 2001
Doug Farrell <writeson at earthlink.net> wrote:
> I've got Python-2.1.1 and wxPython installed on my Solaris 2.6 Sun
> Ultra5 machine and I'm having some problems. When I try to run the demo.py
> program from the wxPython directory under Python-2.1.1 I get the following
> error:
> % python demo.py
> Traceback (most recent call last):
> File "demo.py", line 3, in ?
> import Main
> File "Main.py", line 15, in ?
> from wxPython.wx import *
> File "/usr/local/lib/python2.1/site-packages/wxPython/__init__.py",
> line 20, in ?
> import wxc
> ImportError: ld.so.1: python: fatal: relocation error: file
> /usr/local/lib/python2.1/site-packages/wxPython/wxc.so: symbol
> FindClass__11wxClassInfoPc: referenced symbol not found
> Can anyone tell me what this means, how to fix it of anything that
> might help me?
It looks like you compiled it on a different machine than you are trying to
run it on. Try recompiling it, don't use binaries from somewhere else.
jason
More information about the Python-list
mailing list