<html><body><div style="font-family: Arial; font-size: 10pt; color: #000000"><div>I am having problems with the final stages of building an application with pyqtdeploy: "make" fails with this error:</div><div><br></div><div>/usr/bin/ld cannot find -lsip</div><div>/usr/bin/ld cannot find -lintl</div><div><br></div><div>PyQt5.5 is installed on Ubuntu 14.04 and the application (Python2.7) is running correctly inside the IDE (Pycharm). Then using the instructions here - <a href="http://pyqt.sourceforge.net/Docs/pyqtdeploy/static_builds.html">http://pyqt.sourceforge.net/Docs/pyqtdeploy/static_builds.html</a> - I've build the static packages.</div><div><br></div><div>Concentrating on the sip problem I have setup SYSROOT and followed the instructions for building the static SIP (v4.17). </div><div>The output of "python2.7 configure.py ...." indicates that the module and headers will be copied to the SYSROOT directory:</div><div><br></div><div><p class="p1" style="margin: 0px; padding-left: 30px;" data-mce-style="margin: 0px; padding-left: 30px;">The sip module will be installed in</p><p class="p1" style="margin: 0px; padding-left: 30px;" data-mce-style="margin: 0px; padding-left: 30px;">/root/pyqtdeploy-dir/sysroot-linux/lib/python2.7/site-packages.</p><p class="p1" style="margin: 0px; padding-left: 30px;" data-mce-style="margin: 0px; padding-left: 30px;">The sip module will be built as a static library.</p><p class="p1" style="margin: 0px; padding-left: 30px;" data-mce-style="margin: 0px; padding-left: 30px;">The sip.h header file will be installed in</p><p class="p1" style="margin: 0px; padding-left: 30px;" data-mce-style="margin: 0px; padding-left: 30px;">/root/pyqtdeploy-dir/sysroot-linux/include/python2.7.</p><p class="p1" style="margin: 0px;" data-mce-style="margin: 0px;"><br></p><p class="p1" style="margin: 0px;" data-mce-style="margin: 0px;">but the output of the "make" command is using python3.4m and "make install" is copying the files to the python3 tree:</p><p class="p1" style="margin: 0px;" data-mce-style="margin: 0px;"><br></p><p class="p1" style="margin: 0px; padding-left: 30px;">cp -f sip.so /usr/lib/python3/dist-packages/sip.so</p><p class="p1" style="margin: 0px; padding-left: 30px;">strip /usr/lib/python3/dist-packages/sip.so</p><p class="p1" style="margin: 0px; padding-left: 30px;">cp -f /root/Software/sip-4.17/siplib/sip.h /usr/include/python3.4m/sip.h</p><p class="p1" style="margin: 0px; padding-left: 30px;">make[1]: Leaving directory `/root/Software/sip-4.17/siplib'</p><p class="p1" style="margin: 0px;" data-mce-style="margin: 0px;"><br></p><p class="p1" style="margin: 0px;" data-mce-style="margin: 0px;">I've tried symlinking to these two files from the $SYSROOT locations indicated but still get the same cannot find.</p><p class="p1" style="margin: 0px;" data-mce-style="margin: 0px;"><br></p><p class="p1" style="margin: 0px;" data-mce-style="margin: 0px;">Any help in figuring out what is happening and what I'd doing wrong would be much appreciated - I want this app to be cross compiled eventually onto mac, windows, ios and android. Hopefully once I can get it to build successfully on linux the rest will be straightforward! As a newbie to PyQt5 and pyqtdeploy this is a steep learning curve....</p></div><div><br></div><div><span name="x"></span>-- <br>Regards,<br>John Hackett<br><br></div><div><br></div></div></body></html>