[Python-modules-team] Bug#589893: python-qt4: has bad linking for shared objects

Jakub Wilk jwilk at debian.org
Wed Jul 21 23:59:05 UTC 2010


tags 589893 - patch
thanks

Thanks for your bug report.

* Alan W. Irwin <irwin at beluga.phys.uvic.ca>, 2010-07-21, 16:37:
>ldd -r /usr/lib/pyshared/python2.6/PyQt4/Qt.so
>
>You obtain the following (abbreviated) results:
>
>        linux-vdso.so.1 =>  (0x00007fffcc7ff000)
>        libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0x00007f9d75e91000)
>        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0x00007f9d75b7d000)
>        libm.so.6 => /lib/libm.so.6 (0x00007f9d758fa000)
>        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0x00007f9d756e4000)
>        libc.so.6 => /lib/libc.so.6 (0x00007f9d75383000)
>        libpthread.so.0 => /lib/libpthread.so.0 (0x00007f9d75166000)
>        libz.so.1 => /usr/lib/libz.so.1 (0x00007f9d74f4f000)
>        libdl.so.2 => /lib/libdl.so.2 (0x00007f9d74d4b000)
>        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0x00007f9d74b46000)
>        librt.so.1 => /lib/librt.so.1 (0x00007f9d7493e000)
>        libglib-2.0.so.0 => /lib/libglib-2.0.so.0 (0x00007f9d74662000)
>        /lib64/ld-linux-x86-64.so.2 (0x00007f9d7675b000)
>        libpcre.so.3 => /lib/libpcre.so.3 (0x00007f9d74432000)
>undefined symbol: PyProperty_Type (/usr/lib/pyshared/python2.6/PyQt4/QtCore.so)
>undefined symbol: PyType_GenericNew (/usr/lib/pyshared/python2.6/PyQt4/QtCore.so)
>undefined symbol: PyBool_Type (/usr/lib/pyshared/python2.6/PyQt4/QtCore.so)
>undefined symbol: PyExc_ValueError (/usr/lib/pyshared/python2.6/PyQt4/QtCore.so)
>undefined symbol: PyExc_SystemError (/usr/lib/pyshared/python2.6/PyQt4/QtCore.so)
>[...]

This is intentional. Python extensions use symbols provided by
/usr/bin/pythonX.Y, but they are not supposed to be linked with libpythonX.Y.

>N.B. this undefined symbol issue kills my build of a pyqt4 module which 
>actually needed one of those missing symbols so I judged this to be an 
>important issue.

Could you provide more details on your problem?

-- 
Jakub Wilk
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/python-modules-team/attachments/20100722/9cea5460/attachment-0001.pgp>


More information about the Python-modules-team mailing list