[SERVER-22242] Compiling current master with a "too new" libssl2 (1.0.2e-1) breaks compilation Created: 20/Jan/16  Updated: 07/Dec/16  Resolved: 23/Jun/16

Status: Closed
Project: Core Server
Component/s: Build
Affects Version/s: 3.3.1
Fix Version/s: None

Type: Bug Priority: Major - P3
Reporter: Derick Rethans Assignee: Mira Carey
Resolution: Duplicate Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
duplicates SERVER-22986 Linking against SSL3 OpenSSL symbols ... Closed
Backwards Compatibility: Fully Compatible
Operating System: ALL
Sprint: Platforms 16 (06/24/16)
Participants:

 Description   

I tried compiling mongodb + enterprise modules today, and ran into the following compile failure:

In file included from src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/src.hpp:22:0,
                 from src/third_party/asio-asio-1-11-0/asio/src/asio_ssl.cpp:11:
src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp: In constructor 'asio::ssl::context::context(asio::ssl::context_base::method)':
src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp:88:29: error: '::SSLv3_method' has not been declared
     handle_ = ::SSL_CTX_new(::SSLv3_method());
                             ^
src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp:91:29: error: '::SSLv3_client_method' has not been declared
     handle_ = ::SSL_CTX_new(::SSLv3_client_method());
                             ^
src/third_party/asio-asio-1-11-0/asio/include/asio/ssl/impl/context.ipp:94:29: error: '::SSLv3_server_method' has not been declared
     handle_ = ::SSL_CTX_new(::SSLv3_server_method());

adam.midvidy concluded:

15:46 <Αdam> your openssl version is actually too *new*
15:46 <Αdam> and SSLv3_method has been removed
15:47 <Αdam> and the version of standalone asio we have hasn't worked around that yet

As a separate note, he suggested to use

--with-system-asio

, but that breaks in a different way (see upcoming ticket).



 Comments   
Comment by Andrew Morrow (Inactive) [ 20/Jan/16 ]

Actually, hold off on that GH issue. This may be our issue given how we statically configure ASIO.

Comment by Andrew Morrow (Inactive) [ 20/Jan/16 ]

We should file an upstream issue with AISO maintainer about this issue.

Generated at Thu Feb 08 03:59:49 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.