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

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.0.10, 3.2.3, 3.3.0
    • Component/s: Build
    • Labels:
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Backport Completed:
    • Sprint:
      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

            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: