_ZTI8wxThread missing after building new wxPython(2.9.4)

Hello,

I use Python 2.7 on Ubuntu (12.04).
Now I want to use function extrusion out of module visual (ubuntu has only an older revision, that does not contain extrusion), so I downloaded rev. 6.

But here I need a newer rev. of wxPython, so I downloaded wxPython 2.9 and implemented it.

But when I went to my home dir, started vpython and imported wx, I got this error message:

In [1]: import wx

···

ImportError Traceback (most recent call last)
/home/uli/ in ()
----> 1 import wx

/usr/local/lib/python2.7/dist-packages/wx/init.py in ()
43
44 # Load the package namespace with the core classes and such

—> 45 from wx._core import *
46 del wx
47

/usr/local/lib/python2.7/dist-packages/wx/_core.py in ()
2 # Don’t modify this file, modify the SWIG interface instead.

  3

----> 4 import core
5 import new
6 new_instancemethod = new.instancemethod

ImportError: /usr/local/lib/python2.7/dist-packages/wx/core.so: undefined symbol: _ZTI8wxThread

I’ve searched in the internet, and found a lot of similar questions (concerning _ZTI8wxThread),
but none of the (few) suggestions worked in my case.

Is there somebody, who could give me a clue what I can do?

Erwin Binomi wrote:

ImportError: /usr/local/lib/python2.7/dist-packages/wx/_core_.so:
undefined symbol: _ZTI8wxThread

I've searched in the internet, and found a lot of similar questions
(concerning _ZTI8wxThread),
but none of the (few) suggestions worked in my case.

Is there somebody, who could give me a clue what I can do?

That usually means that the wxWidgets library being found and used at runtime is different than the one used at build time. How did you do your build?

···

--
Robin Dunn
Software Craftsman

Meanwhile I installed wxPython 3.0.0.0 gtk2 (classic).
Here is no ZTI8wxThread-Error!
Thank you for your help!

Erwin

···

Am Samstag, 15. März 2014 05:48:58 UTC+1 schrieb Robin Dunn:

Erwin Binomi wrote:

ImportError: /usr/local/lib/python2.7/dist-packages/wx/core.so:

undefined symbol: _ZTI8wxThread

I’ve searched in the internet, and found a lot of similar questions

(concerning _ZTI8wxThread),

but none of the (few) suggestions worked in my case.

Is there somebody, who could give me a clue what I can do?

That usually means that the wxWidgets library being found and used at
runtime is different than the one used at build time. How did you do
your build?


Robin Dunn

Software Craftsman

http://wxPython.org