You are viewing a plain text version of this content. The canonical link for it is here.
Posted to c-dev@xerces.apache.org by "Scott Cantor (Jira)" <xe...@xml.apache.org> on 2019/12/09 17:47:01 UTC
[jira] [Updated] (XERCESC-2164) Failed to link nonstandard OpenSSL
libraries location
[ https://issues.apache.org/jira/browse/XERCESC-2164?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Scott Cantor updated XERCESC-2164:
----------------------------------
Affects Version/s: 3.2.0
3.2.1
> 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.0, 3.2.1, 3.2.2
> Environment: gcc (Ubuntu 6.5.0-2ubuntu1~16.04) 6.5.0 20181026
> cmake version 3.13.0
> Reporter: SmartNet Club
> Assignee: Roger Leigh
> Priority: Major
> Labels: easyfix, patch
> Fix For: 3.2.3
>
> Original Estimate: 1h
> Remaining Estimate: 1h
>
>
> {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
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: c-dev-unsubscribe@xerces.apache.org
For additional commands, e-mail: c-dev-help@xerces.apache.org