Uploaded image for project: 'Xerces-C++'
  1. Xerces-C++
  2. XERCESC-2164

Failed to link nonstandard OpenSSL libraries location

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 3.2.0, 3.2.1, 3.2.2, 3.2.3
    • None
    • Build
    • gcc (Ubuntu 6.5.0-2ubuntu1~16.04) 6.5.0 20181026
      cmake version 3.13.0

    Description

       

      /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'
      

      The problem with src/CMakeLists.txt:1088

       

      list(APPEND libxerces_c_DEPS ${CURL_LIBRARIES})
      

      ${CURL_LIBRARIES} does not include dependencies

      To fix, should be replaced by CURL::libcurl

       

      list(APPEND libxerces_c_DEPS CURL::libcurl)
      

      Note:

      To find CURL should be used CURLConfig.cmake from /CURL/curl-7_63_0/lib/cmake/CURL

      Standard CMake/[Modules|https://github.com/Kitware/CMake/tree/master/Modules]/FindCURL.cmake does not include dependencies into target CURL::libcurl

       

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            smartnet SmartNet Club
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified