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

Linking against SSL3 OpenSSL symbols fails on Archlinux

    • Type: Icon: Bug Bug
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.5, 3.3.3
    • Affects Version/s: None
    • Component/s: Build
    • Fully Compatible
    • Linux
    • Security 11 (03/11/16)

      ArchLinux recently disabled SSL3 support from OpenSSL: https://projects.archlinux.org/svntogit/packages.git/commit/trunk?h=packages/openssl&id=4b82ed4285c7cb76caf6d75a015c5a7542c625d1

      Compiling the server results in the following link time error, after upgrading to 1.0.2.g-3:

      src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp:81: error: undefined reference to 'SSLv2_client_method'
      src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp:84: error: undefined reference to 'SSLv2_server_method'
      src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp:88: error: undefined reference to 'SSLv3_method'
      src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp:91: error: undefined reference to 'SSLv3_client_method'
      src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp:94: error: undefined reference to 'SSLv3_server_method'
      scons: *** [build/autoscons/mongo/mongos] Error 1
      clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation)
      scons: *** [build/autoscons/mongo/mongod] Error 1
      src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp:78: error: undefined reference to 'SSLv2_method'
      src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp:81: error: undefined reference to 'SSLv2_client_method'
      src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp:84: error: undefined reference to 'SSLv2_server_method'
      src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp:88: error: undefined reference to 'SSLv3_method'
      src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp:91: error: undefined reference to 'SSLv3_client_method'
      src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp:94: error: undefined reference to 'SSLv3_server_method'
      src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp:78: error: undefined reference to 'SSLv2_method'
      src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp:81: error: undefined reference to 'SSLv2_client_method'
      src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp:84: error: undefined reference to 'SSLv2_server_method'
      src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp:88: error: undefined reference to 'SSLv3_method'
      src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp:91: error: undefined reference to 'SSLv3_client_method'
      src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp:94: error: undefined reference to 'SSLv3_server_method'
      clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation)
      scons: *** [build/autoscons/mongo/db/commands/index_filter_commands_test] Error 1
      src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp:78: error: undefined reference to 'SSLv2_method'
      src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp:81: error: undefined reference to 'SSLv2_client_method'
      src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp:84: error: undefined reference to 'SSLv2_server_method'
      src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp:88: error: undefined reference to 'SSLv3_method'
      src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp:91: error: undefined reference to 'SSLv3_client_method'
      src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp:94: error: undefined reference to 'SSLv3_server_method'
      clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation)
      scons: *** [build/autoscons/mongo/db/commands/mr_test] Error 1
      clang-3.7: error: linker command failed with exit code 1 (use -v to see invocation)
      scons: *** [build/autoscons/mongo/db/commands/plan_cache_commands_test] Error 1
      scons: building terminated because of errors.
      

            Assignee:
            spencer.jackson@mongodb.com Spencer Jackson
            Reporter:
            spencer.jackson@mongodb.com Spencer Jackson
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: