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

Damien Elmes resolve at ichi2.net
Thu Mar 26 00:02:06 GMT 2009


I had this error on two different machines using both 10.4 and 10.5.
I'm building universal binaries by passing -n to sip. Is your build
environment any different?

On Wed, Mar 25, 2009 at 8:08 PM, Phil Thompson
<phil at riverbankcomputing.com> wrote:
> On Wed, 25 Mar 2009 10:05:39 +0100, Oliver Heyme <olihey at googlemail.com>
> wrote:
>> 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 ;)
>
> Whoops, will be fixed in the next version. Just use the --confirm-license
> option instead.
>
>> 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?
>
> I can't reproduce this - works fine for me.
>
> Phil
> _______________________________________________
> PyQt mailing list    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt
>



More information about the PyQt mailing list