What is the specific SSL library version dependency to successfully compile
the cpp binaries under Ubuntu 16.04. This particular dependency isn't
mentioned anywhere in the DEVNotes.txt or other documentations.
It seems like 1.0.2g-1ubuntu4.15 is incompatible on Ubuntu 16.04 with
ignite's source code.
build error message:
make[3]: Entering directory
'/tmp/apache-ignite-installation/apache-ignite-2.7.0-bin/platforms/cpp/thin-client'
CXX src/impl/ssl/secure_socket_client.lo
In file included from ./src/impl/ssl/ssl_bindings.h:21:0,
from src/impl/ssl/secure_socket_client.cpp:27:
./src/impl/ssl/ssl_bindings.h:135:28: error: expression list treated as
compound expression in initializer [-fpermissive]
inline int SSL_library_init()
^
In file included from src/impl/ssl/secure_socket_client.cpp:27:0:
./src/impl/ssl/ssl_bindings.h:136:17: error: expected ‘,’ or ‘;’ before ‘{’
token
{
^
In file included from ./src/impl/ssl/ssl_bindings.h:21:0,
from src/impl/ssl/secure_socket_client.cpp:27:
./src/impl/ssl/ssl_bindings.h:144:29: error: variable or field
‘OPENSSL_init_ssl’ declared void
inline void SSL_load_error_strings()
^
src/impl/ssl/secure_socket_client.cpp: In static member function ‘static
void* ignite::impl::thin::ssl::SecureSocketClient::MakeContext(const
string&, const string&, const string&)’:
src/impl/ssl/secure_socket_client.cpp:199:35: error:
‘ignite::impl::thin::ssl::OPENSSL_init_ssl’ cannot be used as a function
(void)SSL_library_init();
^
src/impl/ssl/secure_socket_client.cpp:201:29: error:
‘ignite::impl::thin::ssl::OPENSSL_init_ssl’ cannot be used as a function
SSL_load_error_strings();
^
src/impl/ssl/secure_socket_client.cpp:222:44: error: ‘SSL_CTRL_OPTIONS’ was
not declared in this scope
ssl::SSL_CTX_ctrl(ctx, SSL_CTRL_OPTIONS, flags, NULL);
^~~~~~~~~~~~~~~~
src/impl/ssl/secure_socket_client.cpp:222:44: note: suggested alternative:
‘SSL_CTRL_CHAIN’
ssl::SSL_CTX_ctrl(ctx, SSL_CTRL_OPTIONS, flags, NULL);
^~~~~~~~~~~~~~~~
SSL_CTRL_CHAIN
Makefile:617: recipe for target 'src/impl/ssl/secure_socket_client.lo'
failed
make[3]: *** [src/impl/ssl/secure_socket_client.lo] Error 1
make[3]: Leaving directory
'/tmp/apache-ignite-installation/apache-ignite-2.7.0-bin/platforms/cpp/thin-client'
--
Sent from: http://apache-ignite-users.70518.x6.nabble.com/