[PyQt] Symbol not found: _sipQtConnect on Mac OSX 10.5

Oliver Heyme olihey at googlemail.com
Wed Mar 25 09:05:39 GMT 2009


Hi,

I just wanted to jump on the Python 3 and (Py)Qt 4.5 train.
I am on Mac OS X 10.5.6 with Python 3.0.1 installed from the binary
packages available at python.org and the QT-SDK 4.5 from
Trolltech/Nokia!
I used the latest snapshots for sip and PyQt.

I have two issues:

1. In the configure.py it stops when you have to agree to the license.
I could fix that by just put a return directly after the
check_license(): line. But it would be cool if this works ;)

2. Then building PyQt works fine (althought I needed to add the
symlink to the libQtLucene.dylib). But after installing it I get the
following error:

olimac:sip-4.8-snapshot-20090324 olihey$
/Library/Frameworks/Python.framework/Versions/3.0/bin/python3.0
Python 3.0.1 (r301:69597, Feb 14 2009, 19:03:52)
[GCC 4.0.1 (Apple Inc. build 5490)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> import sip
>>> import PyQt4.QtCore
Traceback (most recent call last):
 File "<stdin>", line 1, in <module>
ImportError: dlopen(/Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0/site-packages/PyQt4/QtCore.so,
2): Symbol not found: _sipQtConnect
 Referenced from:
/Library/Frameworks/Python.framework/Versions/3.0/lib/python3.0/site-packages/PyQt4/QtCore.so
 Expected in: dynamic lookup

Do I do anything worng?

Have a nice day,
Oli



More information about the PyQt mailing list