Yes, it would be even better if it would just call 'sudo apt install
libssl1.0-dev' and brought you a coffee in the meantime...
is not going the way you would expect. I would rather say - that is
minutes to deal with the issue. A lot less than this discussion on
mailing list.
Post by r***@logikalsolutions.comIn case Thiago wanted this, I sacrificed a laptop while setting up
other test environments this morning.
ERROR: Feature 'openssl-linked' was enabled, but the pre-condition
'!features.securetransport && libs.openssl' failed.
ERROR: Feature 'openssl' was enabled, but the pre-condition
'!features.securetransport && (features.openssl-linked ||
libs.openssl_headers)' failed.
Check config.log for details.
looking for library openssl
Trying source 0 (type openssl) of library openssl ...
$OPENSSL_LIBS is not set.
=> source produced no result.
Trying source 1 (type inline) of library openssl ...
=> source failed condition 'config.win32 && !features.shared'.
Trying source 2 (type inline) of library openssl ...
=> source failed condition 'config.win32 && features.shared'.
Trying source 3 (type inline) of library openssl ...
+ cd
/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/config.tests/openssl && /home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared use_gold_linker warn_off console single_arch" 'LIBS += -lssl -lcrypto'
/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/qtbase/config.tests/openssl
+ cd
/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/config.tests/openssl && MAKEFLAGS=
/usr/bin/make
g++ -c -pipe -O2 -w -fPIC
-I/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/qtbase/config.tests/openssl -I. -I/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/qtbase/mkspecs/linux-g++ -o openssl.o
/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/qtbase/config.tests/openssl/openssl.cpp
/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/qtbase/config.tests/openssl/openssl.cpp:43:4: error: #error "OpenSSL >= 0.9.7, and < 1.1.0 is
required"
# error "OpenSSL >= 0.9.7, and < 1.1.0 is required"
^~~~~
Makefile:170: recipe for target 'openssl.o' failed
make: *** [openssl.o] Error 1
=> source failed verification.
test config.network.libraries.openssl FAILED
looking for library openssl_headers
Trying source 0 (type inline) of library openssl_headers ...
+ cd
/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/config.tests/openssl && /home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/qtbase/bin/qmake "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared use_gold_linker warn_off console single_arch"
/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/qtbase/config.tests/openssl
+ cd
/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/config.tests/openssl && MAKEFLAGS= /usr/bin/make clean && MAKEFLAGS=
/usr/bin/make
rm -f openssl.o
rm -f *~ core *.core
g++ -c -pipe -O2 -w -fPIC
-I/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/qtbase/config.tests/openssl -I. -I/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/qtbase/mkspecs/linux-g++ -o openssl.o
/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/qtbase/config.tests/openssl/openssl.cpp
/home/developer/qt_5_9_7/qt-everywhere-opensource-src-5.9.7/qtbase/config.tests/openssl/openssl.cpp:43:4: error: #error "OpenSSL >= 0.9.7, and < 1.1.0 is
required"
# error "OpenSSL >= 0.9.7, and < 1.1.0 is required"
^~~~~
Makefile:170: recipe for target 'openssl.o' failed
make: *** [openssl.o] Error 1
=> source failed verification.
test config.network.libraries.openssl_headers FAILED
Rather interesting situation though Konstantin. Basically 5.9.7 LTS
has a configure which won't work with 18.04 LTS out of the box. Rather
than just an error message buried in the log it should print something
out in the summary given the work around is known. I mean it already
prints all of this note stuff.
ALSA ................................... yes
PulseAudio ............................. yes
re2 .................................. no
ICU .................................. no
libwebp and libwebpdemux ............. no
Opus ................................. no
ffmpeg ............................... no
Note: Also available for Linux: linux-clang linux-icc
Note: Dropped compiler flags '-pthread' when detecting library 'glib'.
Note: Disabling X11 Accessibility Bridge: D-Bus or AT-SPI is missing.
so something along the lines of
"Note: trying installing libssl.0-dev if the default for your system
is OpenSSL 1.1 which breaks API compatibility"
Post by r***@logikalsolutions.comCan you find the section of the config.log where it tried to find openssl and
failed? It will have an error message there.
If you are asking to help solve the problem, the problem is solved by
installing
libssl.0-dev
on 18.04. Something seems to be hard coded for this specific version
instead of floating with whatever libssl-dev installs.
libssl-dev installs OpenSSL 1.1 which breaks API compatibility and wasn't supported
yet in 5.9.x series
Post by r***@logikalsolutions.comIf you are asking because you want me to paste error here so configure
can be fixed, I will try to set up another Dev VM some time before
Monday to reproduce the error and paste the message. Sadly, I blasted
rather than preserving the directory where I did that particular build.
--
Roland Hughes, President
Logikal Solutions
(630) 205-1593
http://www.theminimumyouneedtoknow.com
http://www.infiniteexposure.net
http://www.johnsmith-book.com
http://www.logikalblog.com
http://www.interestingauthors.com/blog
http://lesedi.us
_______________________________________________
Interest mailing list
https://lists.qt-project.org/listinfo/interest
--
Regards,
Konstantin
--
Roland Hughes, President
Logikal Solutions
(630) 205-1593
http://www.theminimumyouneedtoknow.com
http://www.infiniteexposure.net
http://www.johnsmith-book.com
http://www.logikalblog.com
http://www.interestingauthors.com/blog
http://lesedi.us
_______________________________________________
Interest mailing list
https://lists.qt-project.org/listinfo/interest