wxPython installation from source failed

Looks like it may be a bug in binutils?

http://sources.redhat.com/ml/binutils/2003-02/msg00243.html

···

martin.schaffner@epfl.ch wrote:

Martin Schaffner wrote:

/usr/bin/ld: uild/lib.linux-ppc-2.3/wxPython/wxc.so: undefined versioned symbol name _restfpr_26_x@@WXGTK_2.4
/usr/bin/ld: failed to set dynamic section sizes: Bad value collect2: ld returned 1 exit status
error: command 'c++' failed with exit status 1

If I look for the _restfpr_26_x@@WXGTK_2.4 symbol by doing "readelf /usr/local/lib/libwx_gtk-2.4.so -a|less", I see that it exits:

Is there another libwx_gtk-2.4 on your system somewhere?

No. If I do
find . -name libwx_gtk-2.4"*"
I get:
/usr/local/lib/libwx_gtk-2.4.so.0.0.0
/usr/local/lib/libwx_gtk-2.4.so.0
/usr/local/lib/libwx_gtk-2.4.so
/home/martin/wxPythonSrc-2.4.1.2/build/lib/libwx_gtk-2.4.so.0.0.0
/home/martin/wxPythonSrc-2.4.1.2/build/lib/libwx_gtk-2.4.so.0
/home/martin/wxPythonSrc-2.4.1.2/build/lib/libwx_gtk-2.4.so

which are all either a copy or a link of the same file.

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