https://bugs.kde.org/show_bug.cgi?id=401307
Bug ID: 401307 Summary: QCA make error: ld: library not found for -lcrypto Product: qca Version: unspecified Platform: Mac OS X Disk Images OS: OS X Status: REPORTED Severity: major Priority: NOR Component: general Assignee: dr...@land.ru Reporter: francois.joub...@etion.co.za CC: br...@frogmouth.net, jus...@karneges.com Target Milestone: --- Created attachment 116472 --> https://bugs.kde.org/attachment.cgi?id=116472&action=edit 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? -- You are receiving this mail because: You are watching all bug changes.