[PyKDE] Qt 3.0.4 and PyQt-3.2.4 install trouble

Hans-Peter Jansen hpj at urpla.net
Sat Jun 8 21:50:01 BST 2002


Hi,	

just tried to install $subject. While building Qt and PyQt was successful,
PyQt throws this error message on make install:

/bin/sh ../mkinstalldirs /usr/lib/python2.1/site-packages
 /usr/bin/install -c -m 644 qt.py /usr/lib/python2.1/site-packages/qt.py
make  install-data-hook
make[3]: Entering directory `/home/hp/Downloads/qt/PyQt-3.2.4/qt'
(cd /tmp; PYTHONPATH=/usr/lib/python2.1/site-packages:/usr/lib/python2.1/site-packages
/usr/bin/python -c "import qt")
Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "/usr/lib/python2.1/site-packages/qt.py", line 49, in ?
    import libqtc
ImportError: /usr/lib/python2.1/site-packages/libqtcmodule.so: undefined symbol:
static_QUType_ptr

while objdump says, it exists:

objdump -t /usr/lib/python2.1/site-packages/libqtcmodule.so | grep static_QUType_ptr
00000000         *UND*  00000000              static_QUType_ptr

I haven't seen this one before. Any ideas? To be sure, I removed all sip and qt
rudiments from site-packages and tried again, with the same results.
I'm puzzled :-(

/usr/lib/python2.1/site-packages:
-rw-r--r--    1 root     root        91470  8. Jun 21:43 qt.pyc
-rwxr-xr-x    1 root     root      7513152  8. Jun 21:43 libqtcmodule-3.2.4.so*
-rwxr-xr-x    1 root     root          910  8. Jun 21:43 libqtcmodule.la*
lrwxrwxrwx    1 root     root           21  8. Jun 21:43 libqtcmodule.so ->
libqtcmodule-3.2.4.so*
-rw-r--r--    1 root     root        21518  8. Jun 21:43 qt.py
-rwxr-xr-x    1 root     root          769  8. Jun 21:11 libsip.la*
lrwxrwxrwx    1 root     root           15  8. Jun 21:11 libsip.so -> libsip.so.9.0.3*
lrwxrwxrwx    1 root     root           15  8. Jun 21:11 libsip.so.9 -> libsip.so.9.0.3*
-rwxr-xr-x    1 root     root       159003  8. Jun 21:11 libsip.so.9.0.3*

System: SuSE 7.3
Above is running in a shell with:
export QTDIR=/usr/lib/qt3
export LD_LIBRARY_PATH=$QTDIR/lib

Any help highly appreciated.

TIA,
  Hans-Peter




More information about the PyQt mailing list