Unable to link against SSL libs on MacOS

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Done
    • Priority: Major - P3
    • 3.2.0-rc0
    • Affects Version/s: 3.1.0-rc0
    • Component/s: Build
    • None
    • Environment:
      macOS 10.12.1
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

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

              Assignee:
              David Golden
              Reporter:
              Jonathan Wang
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: