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

Unable to specify custom openSSL directory with openssl-linked

    XMLWordPrintable

Details

    • Bug
    • Resolution: Out of scope
    • P4: Low
    • None
    • 5.9.0
    • Build System
    • None
    • Darwin <redacted> 16.6.0 Darwin Kernel Version 16.6.0: Fri Apr 14 16:21:16 PDT 2017; root:xnu-3789.60.24~6/RELEASE_X86_64 x86_64 i386 MacBookPro12,1 Darwin

    Description

      Running ./configure with openssl-linked and custom libs no longer works on 5.9.0:

      OPENSSL_LIBDIR='/opt/local/lib' OPENSSL_INCDIR='/opt/local/include' OPENSSL_LIBS='-lssl -lcrypto' ./configure -opensource -openssl-linked -sdk macosx10.12

      Excerpt from configuration output:

      Qt Network:
         CoreWLan ............................... yes
         getaddrinfo() .......................... yes
         getifaddrs() ........................... yes
         IPv6 ifname ............................ yes
         libproxy ............................... no
         SecureTransport ........................ no
         OpenSSL ................................ no
          Qt directly linked to OpenSSL ........ no
        SCTP ................................... no
         Use system proxies ..................... yes

       and at the very end:

      ERROR: Feature 'openssl-linked' was enabled, but the pre-condition '!features.securetransport && libs.openssl' failed. 

      ERROR: Feature 'openssl' was enabled, but the pre-condition '!features.securetransport && (features.openssl-linked || libs.openssl_headers)' failed.

      This is the content of the directories:

      $ ll /opt/local/lib/libcrypto* /opt/local/lib/libssl*
      {{ lrwxr-xr-x 1 root admin 58 Jun 7 09:58 /opt/local/lib/libcrypto.1.0.0.dylib -> /usr/local/Cellar/openssl/1.0.2l/lib/libcrypto.1.0.0.dylib}}
      {{ lrwxr-xr-x 1 root admin 48 Jun 7 09:58 /opt/local/lib/libcrypto.a -> /usr/local/Cellar/openssl/1.0.2l/lib/libcrypto.a}}
      {{ lrwxr-xr-x 1 root admin 21 Mar 1 2016 /opt/local/lib/libcrypto.dylib -> libcrypto.1.0.0.dylib}}
      {{ lrwxr-xr-x 1 root admin 55 Jun 7 09:58 /opt/local/lib/libssl.1.0.0.dylib -> /usr/local/Cellar/openssl/1.0.2l/lib/libssl.1.0.0.dylib}}
      {{ lrwxr-xr-x 1 root admin 45 Jun 7 09:58 /opt/local/lib/libssl.a -> /usr/local/Cellar/openssl/1.0.2l/lib/libssl.a}}
      {{ lrwxr-xr-x 1 root admin 18 Mar 1 2016 /opt/local/lib/libssl.dylib -> libssl.1.0.0.dylib}}
      {{ $ ll /opt/local/include/openssl}}
      {{ lrwxr-xr-x 1 root admin 49 Jun 7 09:58 /opt/local/include/openssl -> /usr/local/Cellar/openssl/1.0.2l/include/openssl/}}

       

      This may be related to the fix of https://bugreports.qt.io/browse/QTBUG-30083.

      Attachments

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

        Activity

          People

            tpochep Timur Pocheptsov
            majk Michal Svagerka
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Gerrit Reviews

                There are no open Gerrit changes