SmartNet Club created XERCESC-2164: -------------------------------------- Summary: Failed to link nonstandard OpenSSL libraries location Key: XERCESC-2164 URL: https://issues.apache.org/jira/browse/XERCESC-2164 Project: Xerces-C++ Issue Type: Bug Components: Build Affects Versions: 3.2.2 Environment: gcc (Ubuntu 6.5.0-2ubuntu1~16.04) 6.5.0 20181026 cmake version 3.13.0 Reporter: SmartNet Club
{code:java} /usr/bin/x86_64-linux-gnu-ld: warning: libssl.so.1.1, needed by /CURL/curl-7_63_0/lib/libcurl.so, not found (try using -rpath or -rpath-link) /usr/bin/x86_64-linux-gnu-ld: warning: libcrypto.so.1.1, needed by /CURL/curl-7_63_0/lib/libcurl.so, not found (try using -rpath or -rpath-link) /CURL/curl-7_63_0/lib/libcurl.so: undefined reference to `OpenSSL_version_num@OPENSSL_1_1_0' {code} The problem with src/CMakeLists.txt:1088 {code:java} list(APPEND libxerces_c_DEPS ${CURL_LIBRARIES}) {code} ${CURL_LIBRARIES} does not include dependencies To fix, should be replaced by CURL::libcurl {code:java} list(APPEND libxerces_c_DEPS CURL::libcurl) {code} Note: To find CURL should be used CURLConfig.cmake from /CURL/curl-7_63_0/lib/cmake/CURL Standard *[CMake|https://github.com/Kitware/CMake]/[Modules|https://github.com/Kitware/CMake/tree/master/Modules]/FindCURL.cmake* does not include dependencies into target CURL::libcurl -- This message was sent by Atlassian JIRA (v7.6.3#76005) --------------------------------------------------------------------- To unsubscribe, e-mail: c-dev-unsubscr...@xerces.apache.org For additional commands, e-mail: c-dev-h...@xerces.apache.org