[PyQt] PyQt 4.7.4 (64b) on Snow Leopard & the Symbol not found: _sipQtConnect
Doug Looney
dugloon at gmail.com
Sat Jul 24 16:14:21 BST 2010
All,
I had been on 10.5 running macports.
Removed macports.
Upgraded to Snow Leopard.
Seeing same problem from this list with PyQt 4.6 (a longish tale)
I have verified the configure.py fix from that post - but still get this error.
My config:
MacBook, Mac OS X 10.6.4
2.1 Intel Core 2 Duo
i686-apple-darwin10-gcc-4.2.1 (GCC) 4.2.1 (Apple Inc. build 5664)
Python 2.6.1 (r261:67515, Feb 11 2010, 00:51:29)
Installed Qt:
qt-everywhere-opensource-src-4.6.3.tar.gz
./configure -arch x86_64 -opensource
make/sudo make install
Installed sip-4.10.5:
python configure.py --arch x86_64
make/sudo make install
Installed QScintilla-gpl-2.4.4
python configure.py
make/sudo make install
** I can run the qtdemo.app **
Installed PyQt-mac-gpl-4.7.4:
python configure.py
make/sudo make install
** At this point I can see in the calls to gcc that x86_64 is being
used in builds for Qt, Sip, QScintilla, and PyQt. **
But this is the output trying to run the demo:
Doug$ python ~/Downloads/PyQt-mac-gpl-4.7.4/examples/demos/qtdemo/qtdemo.py
Traceback (most recent call last):
File "qtdemo.py", line 49, in <module>
from PyQt4 import QtCore, QtGui
ImportError: dlopen(/Library/Python/2.6/site-packages/PyQt4/QtCore.so,
2): Symbol not found: _sipQtConnect
Referenced from: /Library/Python/2.6/site-packages/PyQt4/QtCore.so
Expected in: flat namespace
in /Library/Python/2.6/site-packages/PyQt4/QtCore.so
Still scratching my head.
Thanks,
Doug
More information about the PyQt
mailing list