Uploaded image for project: 'Qt'
  1. Qt
  2. QTBUG-24694

libssl and libcrypto detection algorithms fail after Ubuntu upgrade

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: P1: Critical P1: Critical
    • 4.8.x, 5.0.0
    • 4.8.0, 5.0.0
    • Network: SSL
    • None
    • Ubuntu

      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

        No reviews matched the request. Check your Options in the drop-down menu of this sections header.

            shkearns Shane Kearns
            fernenge Harald Fernengel
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                There are no open Gerrit changes