Uploaded image for project: 'C++ Driver'
  1. C++ Driver
  2. CXX-1158

Unable to link against SSL libs on MacOS

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 3.1.0-rc0
    • Fix Version/s: 3.2.0-rc0
    • Component/s: Build
    • Labels:
      None
    • Environment:
      macOS 10.12.1
    • Sprint:
      Perl/CXX 2016-12-23

      Description

      The build for the Mongo C++ library is unable to link to the SSL libraries when the Mongo C driver is configured and built using `--ssl=auto/darwin`.

      Previously, with the Mongo C++ driver at version 3.0.3, the CMake configuration was able to locate the Mongo C library and its dependencies (OpenSSL libraries) using pkg_config.

      See the attached file for the commands and the output.

        Attachments

        1. 0001-CXX-1158-Add-OS-X-framework-support-to-FindLibMongoC.patch
          2 kB
        2. pkg_flags_darwin.txt
          3 kB
        3. pkg_flags_openssl.txt
          4 kB
        4. ssl-darwin-output.txt
          18 kB
        5. ssl-openssl-output.txt
          7 kB

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: