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

Link failure with OpenSSL 3.0

    XMLWordPrintable

Details

    • Bug
    • Resolution: Done
    • Not Evaluated
    • 6.5.0 Beta1
    • 6.5
    • Network: SSL
    • None
    • 491dc83bbf (qt/qtbase/dev) 491dc83bbf (qt/tqtc-qtbase/dev)

    Description

      Build against OpenSSL 3.0 fails after change in https://codereview.qt-project.org/c/qt/qtbase/+/380034

       

      OpenSSL ................................ yes
          Qt directly linked to OpenSSL ........ no
        OpenSSL 1.1 ............................ no
        OpenSSL 3.0 ............................ yes 

       

      FAILED: lib/libQt6Core.so.6.5.0
      /home/sapiippo/qt6/build/tmp/hosttools/ld: src/corelib/CMakeFiles/Core.dir/tools/qcryptographichash.cpp.o: in function `QCryptographicHashPrivate::finalize() [clone .part.0]':
      qcryptographichash.cpp:(.text+0x38a5): undefined reference to `EVP_MD_get_size'
      /home/sapiippo/qt6/build/tmp/hosttools/ld: qcryptographichash.cpp:(.text+0x38bd): undefined reference to `EVP_DigestFinal_ex'
      /home/sapiippo/qt6/build/tmp/hosttools/ld: src/corelib/CMakeFiles/Core.dir/tools/qcryptographichash.cpp.o: in function `QCryptographicHash::QCryptographicHash(QCryptographicHash::Algorithm)':
      qcryptographichash.cpp:(.text+0x3a19): undefined reference to `EVP_MD_CTX_new' 

      Build works if using  -openssl-linked configure argument.

       

      Attachments

        Issue Links

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

          Activity

            People

              tpochep Timur Pocheptsov
              sapiippo Samuli Piippo
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes