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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 3.0.10, 3.2.3, 3.3.0
    • Build
    • Fully Compatible
    • ALL
    • Platforms E (01/08/16)

    Description

      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.

      Attachments

        Activity

          People

            jonathan.reams@mongodb.com Jonathan Reams
            andrew.morrow@mongodb.com Andrew Morrow
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: