Reputation: 1126
I'm trying to install QT4 (32bits) on an ubuntu VirtualBox (64bits). I struggle with the installation because of a ssl error that I can't get rid off ...
Here is what I did :
./configure -debug -embedded generic -platform linux-g++-32 -xplatform linux-g++-32 -depths 16 -no-accessibility -no-qt3support -no-glib -qt-gfx-vnc -no-multimedia -no-audio-backend -no-phonon -no-phonon-backend -no-javascript-jit -prefix "/usr/local/Trolltech/QtEmbedded-4.8.7-x86/" -no-script -no-scripttools -no-declarative -no-svg -no-webkit -no-libtiff -no-gif -no-libmng -qt-libpng -system-libjpeg -no-xmlpatterns -no-sql-db2 -no-sql-ibase -no-sql-oci -no-sql-odbc -no-sql-sqlite_symbian -no-sql-tds -no-sql-mysql -no-sql-psql -no-sql-sqlite -no-sql-sqlite2 -no-exceptions -no-stl -nomake demos -nomake examples -no-cups -no-iconv -no-nis -openssl -opensource -confirm-license -qvfb -no-declarative-debug
make
but I have the error :Makefile:18201: recipe for target '.obj/debug-shared-emb-x86/qsslsocket_openssl.o' failed
make[1]: *** [.obj/debug-shared-emb-x86/qsslsocket_openssl.o] Error 1
make[1] : on quitte le répertoire « /home/jerome/Documents/qt-everywhere-opensource-src-4.8.7/src/network »
Makefile:267: recipe for target 'sub-network-make_default-ordered' failed
make: *** [sub-network-make_default-ordered] Error 2
Here are the packages I've got that could be interesting :
I know this problem could be related to libssl version but I tried to install older version, 64 or 32 bits but I still have this error ...
I would strongly appreciate some help on this !
Thanks !
Upvotes: 1
Views: 936
Reputation: 1126
I found the solution !
The problem didn't come from libsll
, but it was related to openssl
version.
The version 1.1.1 was installed (as we can see on the first screen).
So I renamed the executable /usr/bin/openssl
as /usr/bin/openssl.1.1.1
and I installed an older version of openssl (1.0.2) :
wget https://www.openssl.org/source/openssl-1.0.2l.tar.gz
tar -xzvf openssl-1.0.2l.tar.gz
cd openssl-1.0.2l
sudo ./config
sudo make install
sudo ln -sf /usr/local/ssl/bin/openssl /usr/bin/openssl
And that's it ! I checked the version by typing openssl version
and it returned 1.0.2
!
Then QT4 compiled just fine !
Upvotes: 2