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

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

    XMLWordPrintableJSON

Details

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • 1.5.1
    • 1.5.0
    • libmongoc
    • None
    • macOS 10.12.1

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: