[PyQt] Symbol not found: _sipQtConnect on Mac OSX 10.5
Damien Elmes
resolve at ichi2.net
Sat Mar 28 03:19:22 GMT 2009
I was testing this on a 10.5 box. I just noticed that it's using the
10.5 sysroot, so I will try again using the 10.4u SDK. On the 10.4 box
I was using, however, I was already using the 10.4u SDK.
On Sat, Mar 28, 2009 at 12:16 PM, Damien Elmes <resolve at ichi2.net> wrote:
> This seems to be a problem with building universal binaries. If I
> recompile sip without the -n flag to configure, the library loads
> correctly.
>
> Watching the compile for a -n build shows this warning
>
> ld warning: in /Users/ema/PyQt-mac-gpl-4.5-snapshot-20090326/qpy/QtCore/libqpycore.a,
> file is not of required architecture
>
> when linking this file:
>
> g++ -headerpad_max_install_names -bundle -undefined dynamic_lookup
> -arch ppc -arch i386 -Wl,-syslibroot,/Developer/SDKs/MacOSX10.5.sdk -o
> QtCore.so sipQtCorecmodule.o sipQtCoreQMap.o sipQtCoreQHash.o
> sipQtCoreQXmlStreamWriter.o sipQtCoreQXmlStreamReader.o
> sipQtCoreQXmlStreamEntityResolver.o
> sipQtCoreQXmlStreamEntityDeclaration.o
> sipQtCoreQXmlStreamNotationDeclaration.o
> sipQtCoreQXmlStreamNamespaceDeclaration.o
> sipQtCoreQXmlStreamAttributes.o sipQtCoreQXmlStreamAttribute.o
> sipQtCoreQWaitCondition.o sipQtCoreQVector.o sipQtCoreQVariant.o
> sipQtCoreQUuid.o sipQtCoreQUrlFormattingOptions.o sipQtCoreQUrl.o
> sipQtCoreQTranslator.o sipQtCoreQTimer.o sipQtCoreQTimeLine.o
> sipQtCoreQThreadPool.o sipQtCoreQThread.o
> sipQtCoreQTextStreamManipulator.o sipQtCoreQTextStreamNumberFlags.o
> sipQtCoreQTextStream.o sipQtCoreQTextDecoder.o sipQtCoreQTextEncoder.o
> sipQtCoreQTextCodecConverterState.o
> sipQtCoreQTextCodecConversionFlags.o sipQtCoreQTextCodec.o
> sipQtCoreQTextBoundaryFinderBoundaryReasons.o
> sipQtCoreQTextBoundaryFinder.o sipQtCoreQTemporaryFile.o
> sipQtCoreQSystemSemaphore.o sipQtCoreQStringMatcher.o
> sipQtCoreQStringList.o sipQtCoreQStringRef.o sipQtCoreQLatin1String.o
> sipQtCoreQStringSectionFlags.o sipQtCoreQString.o
> sipQtCoreQSocketNotifier.o sipQtCoreQSizeF.o sipQtCoreQSize.o
> sipQtCoreQSignalMapper.o sipQtCoreQSharedMemory.o sipQtCoreQSettings.o
> sipQtCoreQSemaphore.o sipQtCoreQRunnable.o sipQtCoreQResource.o
> sipQtCoreQRegExp.o sipQtCoreQRectF.o sipQtCoreQRect.o
> sipQtCoreQWriteLocker.o sipQtCoreQReadLocker.o
> sipQtCoreQReadWriteLock.o sipQtCoreQProcess.o sipQtCoreQPointF.o
> sipQtCoreQPoint.o sipQtCoreQPluginLoader.o sipQtCoreQPair.o
> sipQtCoreQGenericReturnArgument.o sipQtCoreQGenericArgument.o
> sipQtCoreQMetaObject.o sipQtCoreQObjectCleanupHandler.o
> sipQtCoreQWidget.o sipQtCoreQMutexLocker.o sipQtCoreQMutex.o
> sipQtCoreQMimeData.o sipQtCoreQMetaType.o sipQtCoreQMetaClassInfo.o
> sipQtCoreQMetaProperty.o sipQtCoreQMetaEnum.o sipQtCoreQMetaMethod.o
> sipQtCoreQSystemLocale.o sipQtCoreQLocaleNumberOptions.o
> sipQtCoreQLocale.o sipQtCoreQList.o sipQtCoreQLineF.o sipQtCoreQLine.o
> sipQtCoreQLibraryInfo.o sipQtCoreQLibraryLoadHints.o
> sipQtCoreQLibrary.o sipQtCoreQIODeviceOpenMode.o
> sipQtCoreQFSFileEngine.o sipQtCoreQFileSystemWatcher.o
> sipQtCoreQFileInfo.o sipQtCoreQFilePermissions.o sipQtCoreQFile.o
> sipQtCoreQEventLoopProcessEventsFlags.o sipQtCoreQEventLoop.o
> sipQtCoreQDirIteratorIteratorFlags.o sipQtCoreQDirIterator.o
> sipQtCoreQDirSortFlags.o sipQtCoreQDirFilters.o sipQtCoreQDir.o
> sipQtCoreQDateTime.o sipQtCoreQTime.o sipQtCoreQDate.o
> sipQtCoreQDataStream.o sipQtCoreQCryptographicHash.o
> sipQtCoreQDynamicPropertyChangeEvent.o sipQtCoreQChildEvent.o
> sipQtCoreQTimerEvent.o sipQtCoreQEvent.o sipQtCoreQCoreApplication.o
> sipQtCoreQChar.o sipQtCoreQLatin1Char.o sipQtCoreQByteArrayMatcher.o
> sipQtCoreQByteArray.o sipQtCoreQIODevice.o sipQtCoreQBuffer.o
> sipQtCoreQBitArray.o sipQtCoreQBasicTimer.o
> sipQtCoreQAbstractListModel.o sipQtCoreQAbstractTableModel.o
> sipQtCoreQAbstractItemModel.o sipQtCoreQPersistentModelIndex.o
> sipQtCoreQModelIndex.o sipQtCoreQAbstractFileEngineIterator.o
> sipQtCoreQAbstractFileEngineHandler.o
> sipQtCoreQAbstractFileEngineFileFlags.o sipQtCoreQAbstractFileEngine.o
> sipQtCoreQObject.o sipQtCoreQAbstractEventDispatcher.o
> sipQtCoreQtTextInteractionFlags.o sipQtCoreQtMatchFlags.o
> sipQtCoreQtItemFlags.o sipQtCoreQtDropActions.o
> sipQtCoreQtToolBarAreas.o sipQtCoreQtDockWidgetAreas.o
> sipQtCoreQtImageConversionFlags.o sipQtCoreQtWindowStates.o
> sipQtCoreQtWindowFlags.o sipQtCoreQtAlignment.o
> sipQtCoreQtOrientations.o sipQtCoreQtMouseButtons.o
> sipQtCoreQtKeyboardModifiers.o sipQtCoreQt.o sipQtCoreQSysInfo.o
> -F/Users/ema/PyQt-mac-gpl-4.5-snapshot-20090326/qpy/QtCore
> -L/Users/ema/PyQt-mac-gpl-4.5-snapshot-20090326/qpy/QtCore
> -F/Library/Frameworks -L/Library/Frameworks -lqpycore -framework
> QtCore -lz -lm -framework ApplicationServices
>
> Is it possible this is related?
>
> Cheers,
>
> Damien
>
More information about the PyQt
mailing list