ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> wxPython-users
wxPython-users
Re: [wxPython-users] Symbol Peek__13wxInputStream: referenced symbol not found.
by Robin Dunn other posts by this author
Apr 15 2003 9:26PM messages near this date
Re: [wxPython-users] Symbol Peek__13wxInputStream: referenced symbol not found. | [wxPython-users] wxGlade and Events. HOW?!
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!



---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@[...].org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org
Thread:
=?iso-8859-1?q?Francisco=20Infante?=
Niki Spahiev
Robin Dunn

Privacy Policy | Email Opt-out | Feedback | Syndication
© ActiveState Software Inc. All rights reserved