[PyQt] PyQt 4.7.4 (64b) on Snow Leopard & the Symbol not found: _sipQtConnect

Doug Looney dugloon at gmail.com
Sat Jul 24 17:08:02 BST 2010


Thanks Colin, I had done a "make clean" in each case.

On Sat, Jul 24, 2010 at 9:59 AM, Colin McPhail
<colin.mcphail at talktalk.net> wrote:
>
> On 24 Jul 2010, at 16:14, Doug Looney wrote:
>
>> 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
>> _______________________________________________
>> PyQt mailing list    PyQt at riverbankcomputing.com
>> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>
> Hi,
> I got a similar message recently after attempting to build PyQt with different settings from previous attempts.  It went away after I made sure I was starting from 'clean' directories of SIP, QScintilla, and PyQt.
>
> Hope this helps.
>
> Regards,
> -- Colin


More information about the PyQt mailing list