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

'openssl/bio.h' not found on OS X 10.11

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 1.2.1
    • Affects Version/s: 1.2.0
    • Component/s: Build, libmongoc, tls
    • None

      Reported here:

      https://groups.google.com/d/topic/mongodb-user/gQbFAOTLFvo/discussion

      On a fresh Mac OS X 10.11 El Capitan, install the XCode command line tools (just type "gcc" and it guides you), install Homebrew and follow our Homebrew instructions:

      brew install git automake autoconf libtool pkgconfig
      

      Then ./autoconf.sh:

      libmongoc was configured with the following options:
      
      Build configuration:
        Enable debugging (slow)                          : no
        Compile with debug symbols (slow)                : no
        Enable GCC build optimization                    : yes
        Enable automatic binary hardening                : yes
        Code coverage support                            : no
        Cross Compiling                                  : no
        Fast counters                                    : no
        Shared memory performance counters               : yes
        SASL                                             : sasl2
        SSL                                              : yes
        Libbson                                          : bundled
      

      But "make":

      In file included from src/mongoc/mongoc-client.c:48:
      ./src/mongoc/mongoc-ssl-private.h:25:10: fatal error: 'openssl/bio.h' file not found
      #include <openssl/bio.h>
      

            Assignee:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Reporter:
            jesse@mongodb.com A. Jesse Jiryu Davis
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: