[PyKDE] unresolved symbol

Marco Bubke bubke at prinz-atm.CS.Uni-Magdeburg.De
Thu Oct 14 15:30:07 BST 1999


On 14-Oct-99 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 ?

Maybe there a some libaries compiled with rtti and other without. It can be
also a problem with to different compiler. Have you tried to compile the libsip
with -fno-rtti? -fsquangle is a other possibilty.

Marco




More information about the PyQt mailing list