[PyQt] multiple definition of `pyqt5_from_argv_list'

lloyd konneker bootch at nc.rr.com
Fri May 16 19:16:28 BST 2014


I finessed my previous problem by  creating a link from libsip.a as the 
sip build installed it, to the directory where pyqtdeploy expects it, 
but now I get:

g++ -Wl,-O1 -o pensool main.o pyqtdeploy_main.o pyqtdeploy_module.o 
qrc_pyqtdeploy.o qrc_stdlib.o qrc_site-packages.o 
-L/usr/lib/python3.4/site-packages/PyQt5 
-L/usr/lib/python3.4/site-packages -lQtWidgets -lQtSvg -lQtGui -lsip 
-lQtCore -L/usr/lib/i386-linux-gnu -lpython3.4m -lutil -ldl -lQt5Svg 
-lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread

/usr/lib/python3.4/site-packages/PyQt5/libQtGui.a(sipQtGuicmodule.o):(.bss+0x18): 
multiple definition of `pyqt5_from_argv_list'

/usr/lib/python3.4/site-packages/PyQt5/libQtWidgets.a(sipQtWidgetscmodule.o):(.bss+0x24): 
first defined here

/usr/lib/python3.4/site-packages/PyQt5/libQtGui.a(sipQtGuicmodule.o):(.bss+0x14): 
multiple definition of `pyqt5_update_argv_list'

/usr/lib/python3.4/site-packages/PyQt5/libQtWidgets.a(sipQtWidgetscmodule.o):(.bss+0x18): 
first defined here

collect2: error: ld returned 1 exit status

make: *** [pensool] Error 1


I am thinking I can just hack out one definition, if the PyQt5 Makefile 
will let me rebuild just one file that I hack.

I am blogging about my experiences but it it still a draft.

http://plashless.wordpress.com/2014/05/16/using-pyqtdeploy/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140516/bb7123ed/attachment.html>


More information about the PyQt mailing list