Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-2206

C++ driver Linux build FIPS troubleshooting item

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • v1.3.1
    • None
    • ecosystem
    • None

    Description

      In regards to our Linux C++ driver build page:

      Please add a troubleshooting item for:

      • "error: 'FIPS_mode_set' was not declared in this scope scons: *"

      Fixing requires a version of OpenSSL that defines FIPS_mode_set, such as OpenSSL 1.0.1.

      The full error you would see would be similar to:

      src/mongo/util/net/ssl_manager.cpp: In member function 'void mongo::SSLManager::_setupFIPS()':
      src/mongo/util/net/ssl_manager.cpp:187: error: 'FIPS_mode_set' was not declared in this scope scons: *
      [build/linux2/release/ssl/mongo/util/net/ssl_manager.o] Error 1 scons: building terminated because of errors.

      To address I installed OpenSSL 1.0.1e and compiled with --cpppath and --libpath arguments to scons:

      scons --ssl --cpppath /usr/local/openssl/1.0.1e/include --libpath /usr/local/openssl/1.0.1e/lib all

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            james.wahlin@mongodb.com James Wahlin
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              10 years, 14 weeks, 6 days ago