Symbol Peek__13wxInputStream: referenced symbol not found.

Hi,
Sorry for the inconvenience but I've checked the list
archives and I haven't found anything related to this
problem.

Any help would be welcome.

Thanks

Francisco Infante wrote:

Hello,
I've just built and installed wxPython 2.4.0.7 on
solaris 2.6, but when I run "python demo.py" I get
this error:

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.2/site-packages/wxPython/__init__.py",

line 20, in ?
    import wxc
ImportError: ld.so.1: python: fatal: relocation

error:

file

/usr/local/lib/python2.2/site-packages/wxPython/wxc.so:

···

symbol Peek__13wxInputStream: referenced symbol not
found

___________________________________________________
Yahoo! Messenger - Nueva versión GRATIS
Super Webcam, voz, caritas animadas, y más...
http://messenger.yahoo.es

We got similar errors when there is LARGEFILE support mismatch between python and wxc module.

HTH
Niki Spahiev

Francisco Infante wrote:

Hi,
Sorry for the inconvenience but I've checked the list
archives and I haven't found anything related to this
problem.

Any help would be welcome.

Thanks

Francisco Infante wrote:

Hello,
I've just built and installed wxPython 2.4.0.7 on
solaris 2.6, but when I run "python demo.py" I get
this error:

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.2/site-packages/wxPython/__init__.py",

line 20, in ?
   import wxc
ImportError: ld.so.1: python: fatal: relocation

error:

file

/usr/local/lib/python2.2/site-packages/wxPython/wxc.so:

symbol Peek__13wxInputStream: referenced symbol not
found

Ensure that wxPython and wxGTK are built with the same or compatible compile flags (compare the actual gcc command lines.)

Ensure that the libwxgtk* that wxc.so is dynamically linking to is the same as the one you built and installed.

Ensure that the wx-config found first on the PATH is the one that you just built and installed. wxPython uses that to find the header files for wxGTK.

Ensure that Python and wxGTK are built with the same options for LARGEFILE support. I think both are on by default now, but wxGTK has a configure option to turn it off.

···

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