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

qcryptographichash.cpp.o linked failure

    XMLWordPrintable

Details

    • Bug
    • Resolution: Duplicate
    • Not Evaluated
    • None
    • 6.5
    • Core: Other
    • None
    • Linux/X11

    Description

      qtbase dev, 16573d68961d53f79977a4440e2ed98d16500aae, on Ubuntu 22.04

      /libpcre2-16.so  /usr/lib/x86_64-linux-gnu/libgthread-2.0.so  /usr/lib/x86_64-linux-gnu/librt.a && :
      /usr/bin/ld: src/corelib/CMakeFiles/Core.dir/tools/qcryptographichash.cpp.o: in function `QCryptographicHashPrivate::reset()':
      /home/liangqi/qt/qtbase/src/corelib/tools/qcryptographichash.cpp:475: undefined reference to `OSSL_PROVIDER_load'
      /usr/bin/ld: /home/liangqi/qt/qtbase/src/corelib/tools/qcryptographichash.cpp:477: undefined reference to `OSSL_PROVIDER_load'
      /usr/bin/ld: /home/liangqi/qt/qtbase/src/corelib/tools/qcryptographichash.cpp:481: undefined reference to `EVP_MD_CTX_new'
      /usr/bin/ld: /home/liangqi/qt/qtbase/src/corelib/tools/qcryptographichash.cpp:492: undefined reference to `EVP_MD_fetch'
      /usr/bin/ld: /home/liangqi/qt/qtbase/src/corelib/tools/qcryptographichash.cpp:497: undefined reference to `EVP_DigestInit_ex'
      /usr/bin/ld: src/corelib/CMakeFiles/Core.dir/tools/qcryptographichash.cpp.o: in function `QCryptographicHashPrivate::addData(QByteArrayView)':
      /home/liangqi/qt/qtbase/src/corelib/tools/qcryptographichash.cpp:616: undefined reference to `EVP_MD_get_size'
      /usr/bin/ld: /home/liangqi/qt/qtbase/src/corelib/tools/qcryptographichash.cpp:617: undefined reference to `EVP_DigestUpdate'
      /usr/bin/ld: src/corelib/CMakeFiles/Core.dir/tools/qcryptographichash.cpp.o: in function `QCryptographicHashPrivate::finalize()':
      /home/liangqi/qt/qtbase/src/corelib/tools/qcryptographichash.cpp:748: undefined reference to `EVP_MD_get_size'
      /usr/bin/ld: /home/liangqi/qt/qtbase/src/corelib/tools/qcryptographichash.cpp:749: undefined reference to `EVP_DigestFinal_ex'
      /usr/bin/ld: src/corelib/CMakeFiles/Core.dir/tools/qcryptographichash.cpp.o: in function `QCryptographicHashPrivate::EVP_MD_CTX_deleter::operator()(evp_md_ctx_st*) const':
      /home/liangqi/qt/qtbase/src/corelib/tools/qcryptographichash.cpp:224: undefined reference to `EVP_MD_CTX_free'
      /usr/bin/ld: src/corelib/CMakeFiles/Core.dir/tools/qcryptographichash.cpp.o: in function `QCryptographicHashPrivate::EVP_MD_deleter::operator()(evp_md_st*) const':
      /home/liangqi/qt/qtbase/src/corelib/tools/qcryptographichash.cpp:229: undefined reference to `EVP_MD_free'
      collect2: error: ld returned 1 exit status
      ninja: build stopped: subcommand failed.
      

      In build directory, CMakeCache.txt

      TEST_opensslv11:INTERNAL=
      TEST_opensslv11_headers:INTERNAL=
      TEST_opensslv30:INTERNAL=1
      TEST_opensslv30_headers:INTERNAL=1
      

      Attachments

        Issue Links

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

          Activity

            People

              thiago Thiago Macieira
              liaqi Liang Qi
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Gerrit Reviews

                  There are no open Gerrit changes