Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-22042

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

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

      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@mongodb.com Jonathan Reams
            Reporter:
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: