Created attachment 116472 [details] Output of cmake --system-information SUMMARY QCA V2.1.3 fail to build on macOS 10.14.1 STEPS TO REPRODUCE 1. tar -xzf qca-2.1.3.tar.xzf 2. cd qca-2.1.3 3. cmake . 4. make OBSERVED RESULT Final output of make command: [ 47%] Generating qca-ossl.moc Scanning dependencies of target qca-ossl [ 47%] Building CXX object plugins/qca-ossl/CMakeFiles/qca-ossl.dir/qca-ossl.cpp.o [ 48%] Linking CXX shared module ../../lib/qca-qt5/crypto/libqca-ossl.dylib ld: library not found for -lcrypto clang: error: linker command failed with exit code 1 (use -v to see invocation) make[2]: *** [lib/qca-qt5/crypto/libqca-ossl.dylib] Error 1 make[1]: *** [plugins/qca-ossl/CMakeFiles/qca-ossl.dir/all] Error 2 make: *** [all] Error 2 $ EXPECTED RESULT Build must be successful SOFTWARE/OS VERSIONS MacOS: 10.14.1 Qt Version: 5.6.3 ADDITIONAL INFORMATION OpenSSL is installed on the PC and cmake do detect it: -- Checking for one of the modules 'nss' -- Found OpenSSL: /opt/local/lib/libcrypto.dylib (found version "1.0.2p") -- Looking for EVP_md2 -- Looking for EVP_md2 - not found CMake Warning at plugins/qca-ossl/CMakeLists.txt:18 (message): qca-ossl will be compiled without MD2 digest algorithm support -- Looking for EVP_aes_128_ctr -- Looking for EVP_aes_128_ctr - found -- Looking for EVP_sha -- Looking for EVP_sha - found -- Checking for one of the modules 'libpkcs11-helper-1' Plugins: qca-botan off qca-cyrus-sasl on qca-gcrypt off qca-gnupg on qca-logger on qca-nss off qca-ossl on qca-pkcs11 off qca-softstore on The architecture looks fine: Non-fat file: plugins/qca-ossl/CMakeFiles/qca-ossl.dir/qca-ossl.cpp.o is architecture: x86_64 Non-fat file: /opt/local/lib/libcrypto.dylib is architecture: x86_64 I have attached a file for the output of the following command: cmake --system-information So why does the linker not find the library?
*** Bug 402343 has been marked as a duplicate of this bug. ***
Does this still happen in newer versions?
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please mark the bug as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!