see below – I will give it another try at some point later, however, I eventually used a docker container which provides all the required libs and makes the project run smoothly. This looks like a smart and versatile solution – becoming a docker fan now ;-)
Best Alex -- http://www.carot.de Email : alexan...@carot.de Tel.: +49 (0)177 5719797 > Gesendet: Samstag, 25. Juni 2022 um 09:45 Uhr > Von: "Alexander Carôt" <alexander_ca...@gmx.net> > An: "Mike Rochefort" <m...@michaelrochefort.com>, "Chris Benesch" > <ch...@beneschtech.com>, "Thiago Macieira" <thiago.macie...@intel.com> > Cc: interest@qt-project.org > Betreff: Re: [Interest] Qt5.15 from source on centOS 7 > > Hej Mike, Thiago and Chris, > > in fact the configure process does not recognize the new installed 1.1.1 > version (see extract of config.log): > > loaded result for library config.qtbase_network.libraries.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'. > Trying source 2 (type inline) of library openssl ... > => source failed condition 'config.msvc'. > Trying source 3 (type inline) of library openssl ... > => source failed condition 'config.android'. > Trying source 4 (type inline) of library openssl ... > + cd > /var/www/vhosts/soundjack.eu/qt-everywhere-src-5.15.2/config.tests/openssl && > /var/www/vhosts/soundjack.eu/qt-everywhere-src-5.15.2/qtbase/bin/qmake > "CONFIG -= qt debug_and_release app_bundle lib_bundle" "CONFIG += shared > warn_off console single_arch" 'QMAKE_USE += openssl' 'QMAKE_LIBS_OPENSSL = > /usr/lib64/libssl.so' > /var/www/vhosts/soundjack.eu/qt-everywhere-src-5.15.2/config.tests/openssl > + cd > /var/www/vhosts/soundjack.eu/qt-everywhere-src-5.15.2/config.tests/openssl && > MAKEFLAGS= /opt/rh/devtoolset-10/root/usr/bin/gmake > > g++ -c -pipe -O2 -w -fPIC -I. > > -I/var/www/vhosts/soundjack.eu/qt-everywhere-src-5.15.2/qtbase/mkspecs/linux-g++ > > -o main.o main.cpp > > main.cpp:5:4: error: #error OpenSSL >= 1.1.1 is required > > 5 | # error OpenSSL >= 1.1.1 is required > > | ^~~~~ > > > Regarding Mike's email below I double checked and saw that all the required > files are in place plus created the symbolic links in /usr/lib64/pkgconfig > plus deleted the old 1.0.x-devel package. > > Looks like there is a tiny last step to walk but I still wonder how to make > it recognize / which variable to set etc. > > Thanks > > Alex > > > -- > http://www.carot.de > Email : alexan...@carot.de > Tel.: +49 (0)177 5719797 > > > > Gesendet: Mittwoch, 22. Juni 2022 um 19:31 Uhr > > Von: "Mike Rochefort" <m...@michaelrochefort.com> > > An: interest@qt-project.org > > Betreff: Re: [Interest] Qt5.15 from source on centOS 7 > > > > On 6/22/22 12:43 PM, Thiago Macieira wrote: > > > See config.log and find out why "feature.ssl" failed. > > > > In addition to this, it's worth noting the OpenSSL availability on EL7. > > Only OpenSSL 1.0 is shipped by Red Hat and the rebuild distributions for > > development against (there is the compatibility openssl098e package, but > > it's only for runtime use). OpenSSL 1.1 is provided via EPEL. > > > > packages: > > openssl11 > > openssl11-libs > > openssl11-devel > > > > development resources: > > /usr/include/openssl11/* > > /usr/lib64/openssl11/lib{ssl,crypto}.so > > /usr/lib64/pkgconfig/{libssl,libcrypto,openssl}11.pc > > > > The build system is likely not seeing the "openssl11" content (double > > check you have the openssl11-devel package installed) and may need to be > > modified to find it properly rather than seeking "openssl". You could > > also make sure you have openssl-devel removed and symlink the *11.pc > > files to their counterparts and see if that helps pick things up. > > > > yum remove openssl-devel > > cd /usr/lib64/pkgconfig > > ln -s libcrypto11.pc libcrypto.pc > > ln -s libssl11.pc libssl.pc > > ln -s openssl11.pc openssl.pc > > > > Cheers, > > Mike > > _______________________________________________ > > Interest mailing list > > Interest@qt-project.org > > https://lists.qt-project.org/listinfo/interest > > > _______________________________________________ > Interest mailing list > Interest@qt-project.org > https://lists.qt-project.org/listinfo/interest > _______________________________________________ Interest mailing list Interest@qt-project.org https://lists.qt-project.org/listinfo/interest