[PyQt] Can't 'make' PyQt5 on a clean Mac OS 10.9

Dave Gradwell davegradwell at yahoo.co.uk
Fri Jul 4 13:13:09 BST 2014


I am trying to use PyQt5 on a brand new Mac OS 10.9.
I have downloaded, configured, made, installed Python 3.4.1.
I have downloaded, configured, made, installed SIP 4.16.1
I have downloaded, configured PyQt 5.3.
When I 'make', it fails with:

/Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang++ -headerpad_max_install_names -Wl,-syslibroot,/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.8.sdk -mmacosx-version-min=10.6 -single_module -dynamiclib -o libpyqt5.dylib pluginloader.o moc_pluginloader.o  -F/Users/admin/Qt5.3.1/5.3/clang_64/lib -L/Users/admin/Desktop/building/built/lib -lpython3.4m -framework QtDesigner -framework QtWidgets -framework QtGui -framework QtCore -framework QtXml -framework OpenGL -framework AGL  
Undefined symbols for architecture x86_64:
  "___sincos_stret", referenced from:
      __Py_c_pow in libpython3.4m.a(complexobject.o)
      _complex_pow in libpython3.4m.a(complexobject.o)
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [libpyqt5.dylib] Error 1
make: *** [sub-designer-make_first-ordered] Error 2


Can anybody help me get past this?

With thanks,

Dave.


More information about the PyQt mailing list