Due to failing mongo-shell (robo-shell) build with OpenSSL 1.1.1f on Linux, we are unable to upgrade Robo 1.4 libssh2 version from 1.7.0 to 1.9.0 thus cannot support ECDSA and Ed25519 keys on Linux. Windows and macOS do not have this problem.
<2> robo-shell (mongo shell) expects older versions of OpenSSL on Linux and build fails with OpenSSL 1.1.1f
/// --- Ubuntu 16.04 build robo-shell with openssl 1.1.1f
// build output
Checking for SSLeay_version(0) in C library crypto... no
Couldn't find OpenSSL crypto.h header and library
// build log (config.log)
file /opt/robo-shell/SConstruct,line 2991:
Configure(confdir = build/scons/opt/sconf_temp)
scons: Configure: Checking for SSLeay_version(0) in C library crypto...
scons: Configure: "build/scons/opt/sconf_temp/conftest_59.c" is up to date.
scons: Configure: The original builder output was:
|build/scons/opt/sconf_temp/conftest_59.c <-
| |
| |
| |#include "openssl/crypto.h"
| |
| |int
| |main() {
| | SSLeay_version(0);
| |return 0;
| |}
| |
|
Compiling build/scons/opt/sconf_temp/conftest_59.o
build/scons/opt/sconf_temp/conftest_59.c: In function 'main':
build/scons/opt/sconf_temp/conftest_59.c:7:3: error: implicit declaration of function 'SSLeay_version'; did you mean 'OpenSSL_version'? [-Werror=implicit-function-declaration]
SSLeay_version(0);
^~~~~~~~~~~~~~
OpenSSL_version
cc1: all warnings being treated as errors
scons: Configure: no
<3> Building OpenSSL with DOPENSSL_API_COMPAT flag does not solve the problem
This problem is not in all linux distributions, specifically it is in Ubuntu and Debian, and more if they use non-current LTS. most of all, the libssh2 1.9 package
is available in Fedora 32, archlinux, openSUSE Tumbleweed, among others
simsekgokhan
changed the title
Building with openssl-1.1.1f and libssh2-1.9.0 on Ubuntu
Build of robo-shell v4.2 fails with openssl-1.1.1f on Ubuntu
Aug 3, 2020
Problem
Due to failing
mongo-shell (robo-shell)
build with OpenSSL 1.1.1f on Linux, we are unable to upgrade Robo 1.4 libssh2 version from 1.7.0 to 1.9.0 thus cannot support ECDSA and Ed25519 keys on Linux. Windows and macOS do not have this problem.Next Actions:
Details:
<1> libssh2 requires OpenSSL 1.1.1 or later
libssh2/libssh2@0309229
<2> robo-shell (mongo shell) expects older versions of OpenSSL on Linux and build fails with OpenSSL 1.1.1f
<3> Building OpenSSL with DOPENSSL_API_COMPAT flag does not solve the problem
<4>
https://docs.mongodb.com/manual/tutorial/configure-ssl/
The text was updated successfully, but these errors were encountered: