wxPython/xc.so: undefined symbol: _ZN13wxInputStream4PeekEv

the subject sums it up...i've compiled wxPython several times now with
various combinations of configure args and i keep getting that same
error. i'm running linux and compiling from freshly updated 2.4-branch
CVS. last time i compiled i used the following to configure wxGTK:

configure --with-gtk --with-opengl --enable-geometry --enable-optimize \
--enable-debug_flag --enable-gtk2 --enable-unicode --enable-no_rtti \
--enable-no_exceptions

then for wxPython:

python setup.py WX_CONFIG=/usr/local/bin/wx-config WXPORT=gtk2 \
UNICODE=1 build

but 'from wxPython import wx' always gives the lovely error in the
subject...

wxPython/wxc.so: undefined symbol: _ZN13wxInputStream4PeekEv

i performed a search for this error but found nothing exactly matching
it, though i'm sure it isn't new...

if someone could point me at what the cause of this might be i'd be
grateful. tell me what additional information i should provide...

thanks in advance

remonsim@eol.ca wrote:

the subject sums it up...i've compiled wxPython several times now with
various combinations of configure args and i keep getting that same
error. i'm running linux and compiling from freshly updated 2.4-branch
CVS. last time i compiled i used the following to configure wxGTK:

configure --with-gtk --with-opengl --enable-geometry --enable-optimize \
--enable-debug_flag --enable-gtk2 --enable-unicode --enable-no_rtti \
--enable-no_exceptions

then for wxPython:

python setup.py WX_CONFIG=/usr/local/bin/wx-config WXPORT=gtk2 \
UNICODE=1 build

but 'from wxPython import wx' always gives the lovely error in the
subject...

wxPython/wxc.so: undefined symbol: _ZN13wxInputStream4PeekEv

Are you sure that wxPython is loading the wxGTK that you just built? (Use "ldd /path/to/wxc.so" to find out.) Were wxGTK, wxPython and Python all compiled with the same version of the gcc compiler?

ยทยทยท

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

>wxPython/wxc.so: undefined symbol: _ZN13wxInputStream4PeekEv

Are you sure that wxPython is loading the wxGTK that you just built?
(Use "ldd /path/to/wxc.so" to find out.) Were wxGTK, wxPython and
Python all compiled with the same version of the gcc compiler?

thanks for your response, i regret e-mailing the list. the problem was
entirely my fault and had nothing whatever to do with wxPython. it was
a compiler issue (there were some old stdc++ libraries kicking around
which were messing things up).

to correct myself, i see that others have in fact had similar errors
with wxPython in the past and your response is identical each
time...anyway, sorry if i've wasted anyone's time.