[PyQt] Ubuntu pyqtdeploy fail: /usr/bin/ld: cannot find -lsip

lloyd konneker bootch at nc.rr.com
Fri May 16 00:47:07 BST 2014

Environment: Ubuntu14.04, Qt5.2.1, latest stable PyQt, pyqtdeploy0.4

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 -lsip -lQtWidgets -lQtCore 
-lQtGui -lQtSvg -L/usr/lib/i386-linux-gnu -lpython3.4m -lutil -ldl 
-lQt5Svg -lQt5Widgets -lQt5Gui -lQt5Core -lGL -lpthread

/usr/bin/ld: cannot find -lsip

multiple definition of `pyqt5_from_argv_list'

first defined here

multiple definition of `pyqt5_update_argv_list'

first defined here

collect2: error: ld returned 1 exit status

make: *** [pensool] Error 1

I think I followed the directions in the tutorial for building sip 
 >make install
installs it to a location that is not in the g++ command? i.e. 

/usr$ find * -name libsip.a

Please let me know if you would rather I not report such errors until 
later releases of pyqtdeploy.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/pyqt/attachments/20140515/0e02ed49/attachment-0001.html>

More information about the PyQt mailing list