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

libssl and libcrypto detection algorithms fail after Ubuntu upgrade

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • P1: Critical
    • 4.8.x, 5.0.0
    • 4.8.0, 5.0.0
    • Network: SSL
    • 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

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

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes