Uploaded image for project: 'C Driver'
  1. C Driver
  2. CDRIVER-1944

On macOS, config is unable to detect the installed OpenSSL library

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.5.1
    • Affects Version/s: 1.5.0
    • Component/s: libmongoc
    • None
    • Environment:
      macOS 10.12.1

      On macOS, configure is unable to detect the installed OpenSSL library. When trying to configure the MongoDB C library with OpenSSL installed at a custom location (/usr/local/custom/openssl) specified in the PKG_CONFIG_LIBDIR (or PKG_CONFIG_PATH) environment variable, configure is unable to detect the installation and exits with an error: configure: error: You must install the OpenSSL development headers to enable OpenSSL support.

      See the attachment for the commands and flags I used as well as the configure output.

      I was previously able to use the same build procedure to get the 1.3.6 version of the Mongo C library to correctly configure and build.

        1. mongoc_error.txt
          10 kB
          Jonathan Wang

            Assignee:
            bjori Hannes Magnusson
            Reporter:
            jwang Jonathan Wang
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: