[PyKDE] unresolved symbol
Phil Thompson
phil at river-bank.demon.co.uk
Thu Oct 14 22:13:31 BST 1999
Olav Zimmermann wrote:
>
> Hi everybody,
>
> after installation of sip and PyQt from the PyQt-Homepage I tried
> to run the examples. I got an uresolved symbol error:
>
> [ozi at pc14 examples]$ ./tut1.py
> Traceback (innermost last):
> File "./tut1.py", line 6, in ?
> from qt import *
> File "/usr/lib/python1.5/qt.py", line 7, in ?
> import libqtc
> ImportError: /usr/lib/python1.5/lib-dynload/libqtcmodule.so: undefined symbol: disconnectNotify__8sipProxyPCc
> [ozi at pc14 examples]$ ldd /usr/lib/python1.5/lib-dynload/libqtcmodule.so
> libsip.so.0 => /usr/local/lib/libsip.so.0 (0x401d3000)
> libqt.so.1 => /usr/lib/libqt.so.1 (0x401d8000)
> libSM.so.6 => /usr/X11R6/lib/libSM.so.6 (0x40398000)
> libICE.so.6 => /usr/X11R6/lib/libICE.so.6 (0x403a2000)
> libX11.so.6 => /usr/X11R6/lib/libX11.so.6 (0x403b9000)
> libc.so.6 => /usr/lib/libc.so.6 (0x4046a000)
> libXext.so.6 => /usr/X11R6/lib/libXext.so.6 (0x40558000)
> libstdc++-libc6.1-1.so.2 => /usr/lib/libstdc++-libc6.1-1.so.2 (0x40565000)
> libm.so.6 => /lib/libm.so.6 (0x405ad000)
> /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x00000000)
> [ozi at pc14 examples]$
>
> Does anybody know what is wrong here ?
>
> Thank you.
>
> Olav Zimmermann
This is in the FAQ. The SIP library was compiled with Qt support
disabled. configure didn't find the Qt (specifically it didn't find
qobject.h), so you need to tell it explicitly where it is with
--with-qt-includes=???. This usually happens with Red Hat because it
sticks Qt in a place configure doesn't look in. It will be fixed in the
next version.
Phil
More information about the PyQt
mailing list