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

Unable to link against SSL libs on MacOS

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

      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. 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

            Assignee:
            david.golden@mongodb.com David Golden
            Reporter:
            jwang Jonathan Wang
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: