On 27/11/2017 15:54, Edgar Alwers wrote:

Hallo Pierre,


Am 26.11.2017 um 18:49 schrieb Pierre Labastie:
Looks like the build system uses the wrong version of openssl (1.1.0f instead
of 1.0.2l). You have to install the latter, and to apply the "echo ..." and
"export ..." commands.
Thank you very much for your hint with openssl. I had indeed built only the 1.1.0 version. So I compiled 1.0.2 according to the book. However: one of the instructions to be run as root, "cp -Rv Dest/usr/lib/openssl-1.0/* /usr/lib/openssl-1.0" delivers an error ( my translation: ) "cp: writing through the symbolic expresion '/usr/lib/openssl-1.0/libssl.so.1.0.0' not possible" Further, there are no commands "echo" and "export", as you described in the email.

Sorry for not being clear: those instructions are on the Qt page...
Concerning the error, I do not really understand your translation :) It's a simple cp command, I do not see why it shouldn't work, specially if you have run the "rm -rf /usr/lib/openssl-1.0" command before. (you need then to create again /usr/lib/openssl-1.0 by running the command "install ...". Note that the error could be that you have not removed /usr/lib/openssl-1.0, and that /usr/lib/openssl-1.0/libssl.so.1.0.0 is still a symbolic link... I'd say that if you succeed in running the installation commands for openssl-1.0.2, Qt should build OK...

However: adding to the configuration "-no-openssl", allows to build Qt-5, so the problem is really OpenSSL.

A few questions:
1.) Is something wrong with OpenSSL-1.0.2l in the book 8.1 ? ( error, no commands echo and export...), Do I need perhapsĀ  another version ?

This version should be OK (see above)
2.) what do I have to expect with Qt compiled without OpenSSL ? I need Qt only in my PC, for KDE and other applications like gpsPrune and so.

I think for any application using Qt and accessing internet, openssl support might be needed nowadays...

3.) Would a short remark in the book concerning openssl-1.0.2 in the chapter Qt-5.9.1 not be usefull ? 1.0.2l is mentioned, that is true, but it is easy to overlook that.

Good question... Maybe adding "(not openssl-1.1.0)" after the link to openssl-1.0.2. Thanks for the comment.

Pierre
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to