[PyKDE] compile pyqt4 on linux (ubuntu)

Phil Thompson phil at riverbankcomputing.co.uk
Thu Dec 1 22:16:10 GMT 2005


On Thursday 01 December 2005 10:01 pm, m.gehling at gmx.de wrote:
> i compile pyqt4 on linux without error, but my first import failed.
> can i test my installation or set debug options ?
>
> marc
>
> :~/My Downloads/PyQt4-gpl-snapshot-20051130$ python
>
> Python 2.4.2 (#2, Sep 30 2005, 21:19:01)
> [GCC 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>
> >>> from PyQt4 import QtCore
>
> Traceback (most recent call last):
>  File "<stdin>", line 1, in ?
> ImportError: /usr/lib/python2.4/site-packages/PyQt4/QtCore.so: undefined
> symbol: _ZanRK9QBitArrayS1_

There is a symbol missing in your Qt4 library - you need to demangle it to 
find out exactly which.

Phil




More information about the PyQt mailing list