Details
-
Bug
-
Resolution: Done
-
P1: Critical
-
4.8.0, 5.0.0
-
None
-
Ubuntu
Description
My Qt based app is build on Ubuntu 11.04, with the standard config option of resolving libssl at runtime. After a system upgrade to Ubuntu 11.10, it fails to detect the ssl and crypto libs, thus, all QSslSockets fail.
Root cause:
qsslsocket_openssl_symbols.cpp uses a three stage approach to detect libssl:
1) search for SHLIB_VERSION_NUMBER - in my case, 0.9.8, which does no longer exists
2) search for plain *.so - only exists if the -devel package is installed, which is not the case on most end user's machines
3) search in standard paths - fails, since Ubuntu 11.10 ships libssl and libcrypto in /lib/i386-linux-gnu, which is neither in $LD_LIBRARY_PATH, nor in the search list
Attachments
Issue Links
- relates to
-
QTBUG-25398 libssl and libcrypto detection algorithms fail on Fedora
-
- Closed
-
For Gerrit Dashboard: QTBUG-24694 | ||||||
---|---|---|---|---|---|---|
# | Subject | Branch | Project | Status | CR | V |
21721,1 | Find libssl on linux using paths of loaded libraries | master | qt/qtbase | Status: MERGED | +2 | 0 |
22773,1 | Find libssl on linux using paths of loaded libraries | 4.8 | qt/qt | Status: MERGED | +2 | 0 |