[PyKDE] libsip & Py_Free?

Hollis R Blanchard hollis+ at andrew.cmu.edu
Thu May 10 18:51:12 BST 2001

As I've discovered, PyQt doesn't play well with python1. So I tried building
against python2, only to get the following error:

(cd /tmp; PYTHONPATH=/var/tmp/PyQt-2.4-root/usr/lib/python2.1/site-packages:/var
/tmp/PyQt-2.4-root/usr/lib/python2.1/site-packages python -O -c "import qt")
Traceback (most recent call last):
  File "<string>", line 1, in ?
  File "/var/tmp/PyQt-2.4-root/usr/lib/python2.1/site-packages/qt.py", line 43, 
in ?
    import libqtc
ImportError: /usr/lib/libsip.so.5: undefined symbol: Py_Free

Where is Py_Free supposed to be defined? (I assume the python2 binary.) I did
not have this problem trying to use python1. pymalloc is not being used. This
is with sip/PyQt 2.4, and tummy.com's python2-2.1-4 rpm. Any help?


More information about the PyQt mailing list