[wxPython-users] Misatch between the program and library build
versions
Robin Dunn
robin at alldunn.com
Tue Oct 3 10:42:48 PDT 2006
Mandy.Lialie wrote:
> Hi,
>
> I build python2.5 with default configurations.
> Build wxWigets 2.6.3.3 with:
> ./configure --enable-unicode
> make
> make install
>
> And setup wxPython with:
> python setup.py build_ext UNICODE=1 BUILD_GLCANVAS=0
>
> These commands are all successfully done. But when run the command
> pyshell, got the following:
>
> """
> Fatal Error: Mismatch between the program and library build versions
> detected.
> The library used 2.6 (no debug,Unicode,compiler with C++ ABI 1002,wx
> containers,compatible with 2.2,compatible with 2.4),
> and wxPython used 2.6 (no debug,Unicode,compiler with C++ ABI 1002,wx
> containers,compatible with 2.4).
> Aborted!
> """
This will happen if the wxWidgets shared libraries located at runtime
are configured differently than the wxWidgets used at compile time.
Double check that the wx-config and the include files used for compiling
wxPython are the ones that go with the wx shared libs found at runtime.
You can use the "ldd /path/to/wx/_core_.so" command to find out which
shared libs are being loaded, and "wx-config --prefix" to see where
wx-config expects to find them.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list