[PyKDE] Post Build Runtime problems libqtcmodule.so:
phil at river-bank.demon.co.uk
Fri May 3 11:21:00 BST 2002
Liam Herron wrote:
> So I went back and built this thing with the 2.96 compiler.
> When I try to run this thing in python I get:
> [GCC 2.96 20000731 (Red Hat Linux 7.1 2.96-98)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
> >>>import qt
> Traceback (most recent call last):
> File "<stdin>", line 1, in ?
> File "/usr/local/lib/python2.2/site-packages/qt.py", line 47, in ?
> import libqtc
> ImportError: /usr/local/lib/python2.2/site-packages/libqtcmodule.so:
> undefined symbol: static_QUType_ptr
> So I then check the library for that symbol:
> nm /usr/local/lib/python2.2/site-packages/libqtcmodule.so |
> grep static_QUType_ptr
> U static_QUType_ptr
> so it is undefined in that library.
> I start hunting for how this library is built and what files need it and I
> find that it is really only:
> that needs it. I then look at the headers this brings in:
Like I said, PyQt does not explicitly reference this symbol. So if it is
referenced, then it's probably moc that's generating them. Have you got
files generated from different versions of moc lying around?
More information about the PyQt