If ssl libraries not present, configure fails with a misleading error about boost

XMLWordPrintableJSON

    • Fully Compatible
    • ALL
    • Platforms E (01/08/16)
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      We don't do a CheckLib for SSL. We just add ssl and crypto to LIBS. The result is that if the libssl and libcrypto libraries are not present, later TryLink or CheckLib calls fail. This can lead to confusing error messages complaining that, for instance, boost cannot be found, even though the real problem is that the SSL libraries are not available.

      See https://groups.google.com/forum/#!topic/mongodb-user/qZhskcDOeKY

      The fix is to add a proper CheckLib for the SSL libraries and error out if they are not found but the user requested SSL support with --ssl.

            Assignee:
            Jonathan Reams
            Reporter:
            Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: