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

Building with --enable-ssl=libressl may not link libcrypto

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 1.9.2
    • Component/s: libmongoc, tls
    • Labels:
      None

      When building with CMake, enabling LibreSSL will link both tls and crypto (see here); however, when building with Autotools, CheckSSL.m4 relies on pkg-config to return libraries to link (here).

      While OpenSSL's package info reports both ssl and crypto for linking, LibreSSL's tls package only reports tls. Solving this would require also running PKG_CHECK_MODULES() for libcrypto.

      I don't expect this to be resolved in light of CDRIVER-1349, but I did want to open a ticket for posterity.

            Assignee:
            Unassigned Unassigned
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: