mongosql not starting on Red Hat 8: "error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory" - mongodb

I have isntalled mongodb on a Red Hat 8 and it's working fine.
Also, I installed mongo connector for BI through this tutorial: https://docs.mongodb.com/bi-connector/master/tutorial/install-bi-connector-rhel/.
Now, trying to run mongosqld with the command:
mongosqld
I got this error message: mongosqld: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory
This is the openssl installed version: OpenSSL 1.1.1 FIPS 11 sep 2018
I already searched, but I couldn't find an answer that worked for this issue yet.
Does anyone knows how to fix this? Thanks in advance!

Try installing the OpenSSL 1.0 libraries on RHEL 8:
sudo dnf install compat-openssl10
These are meant for compatibility only. Since mongosqld doesn't support the newer OpenSSL version, it seems like you have no other option.

Related

libgtk-3.so.0 not found when trying to run mongodb-compass from RedHAt Linux

I tried installing the latest version of Mongo compass by running the RPM in the red hat instance:
sudo yum install mongodb-compass-1.17.0.x86_64.rpm
When I try to run the mongodb-compass, I am getting the below error:
[ec2-user#ip-10-93-230-148 ~]$ mongodb-compass
mongodb-compass: error while loading shared libraries: libgtk-3.so.0: cannot open shared object file: No such file or directory
Can anyone please advise on how to resolve this issue?
Thanks
DJ
I am able to run compass in Redhat instance by installing gtk3-devel

error: /usr/lib64/libcrypto.so.10: version `OPENSSL_1.0.2' not found

I am getting the error when I run command "mongo" in linux client on RHEL 7.2:
/usr/lib64/libcrypto.so.10: version `OPENSSL_1.0.2' not found (required by mongo)
I have already installed openssl 1.0.2:
$ openssl version
OpenSSL 1.0.2g 1 Mar 2016
What is the problem and how do I fix it?
I was able to solve this problem by running yum reinstall openssl openssl-libs and yum reinstall libzip
error: /usr/lib64/libcrypto.so.10: version `OPENSSL_1.0.2' not found
Above error is showing user have two library for same tool that's why system not able to decide which is/are the right file/files.
Delete one of them (system defined : under /usr/lib or user defined : path defined by user) and try it.

Issue installing mongoDB version 3.1.9 on solaris 10

I was trying to install mongoDB version 3.1.9 on solaris 10 .
getting the below error while installation
ld.so.1: mongo: fatal: relocation error: file mongo: symbol strnlen: referenced symbol not found
Killed
I have never worked with mongoDB before not sure if I am installing properly.
Unfortunately MONGODB do not support Solaris 10 at this time. You'll need to upgrade to Solaris 11 if you'd like to use newer versions of MongoDB.
./mongod ld.so.1: mongod: fatal: libsocket.so.1: version 'SUNW_1.7' not found (required by file mongod) ld.so.1: mongod: fatal: libsocket.so.1: open failed: No such file or directory Killed #mahi_walia
This shows that some binary and libs files required by MongoDB are missing for successful installation.
If you apply the Solaris patch cluster that will upgrade all the necessary binaries and libs, this should resolve your issue.
Here you can download Recommended patch cluster for Solaris.
https://blogs.oracle.com/patch/entry/a_solaris_recommended_patchset_to

Installing Qt 5.5.1 on Ubuntu 14.04 - throws qt.network.ssl error on terminal

I am planning to install qt 5.5.1 on my ubuntu 14.04 running on virtual machine. I have downloaded the installer from qt-io and when I try to install the setup, I notice the below warning on my terminal, and then the installer pop up.
qt.network.ssl: QSslSocket: cannot resolve SSLv2_client_method
qt.network.ssl: QSslSocket: cannot resolve SSLv2_server_method
Do I need to worry much about this warning ? I dont see any error of this kind when I installed qt 5.3.1 on same machine.
Is there a way to resolve this warning ? Any help is appreciated. Thanks
This is the current version of openSSL on my machine.
openssl version -v
OpenSSL 1.0.1f 6 Jan 2014
just install libssl-0.98 and it should work

Xdebug bad Zend API Version Number

I am having trouble upgrading xdebug for MAMP. I was running version 2.2.0 and there was a known issue that I ran into: PhpStorm and Xdebug not breaking in Symfony2 Controller
I tried to upgrade to version 2.2.3 by following the instructions from http://xdebug.org/wizard.php
After downloading and extracting the xdebug tar I ran /Applications/MAMP/bin/php/php5.4.4/bin/phpize
Here is the output:
Configuring for:
PHP Api Version: 20100412
Zend Module Api No: 20100525
Zend Extension Api No: 220100525
I then copied the modules/xdebug.so file into the mamp php5.4.4 extensions dir: `/Applications/MAMP/bin/php/php5.4.4/lib/php/extensions/no-debug-non-zts-20100525/xdebug.
If I run /Applications/MAMP/bin/php/php5.4.4/bin/php -v I get the following:
Xdebug requires Zend Engine API version 220090626.
The Zend Engine API version 220100525 which is installed, is newer.
Contact Derick Rethans at http://xdebug.org/docs/faq#api for a later version of Xdebug.
PHP 5.4.4 (cli) (built: Jul 4 2012 17:28:56)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies
I have restarted MAMP and Apache and tried loading a page with phpinfo() and I do not see Xdebug listed. If I moved the old xdebug.so file back in place the error is removed and phpinfo() show xdebug as enabled
I managed to solve this issue by running
/Applications/MAMP/bin/php/php5.4.4/bin/pecl install xdebug At first I was seeing issues with the Zend API number using pecl. I followed this post: pecl installs for previous php version and set the following:
sudo /Applications/MAMP/bin/php/php5.4.4/bin/pear config-set php_ini /Applications/MAMP/bin/php/php5.4.4/conf/php.ini
sudo /Applications/MAMP/bin/php/php5.4.4/bin/pecl config-set bin_dir /Applications/MAMP/bin/php/php5.4.4/bin/
Not sure if these configs had something to do with it failing before
I have a MAMP server set up on a Mac Pro, I could not get xDebug to work. This was in my logs:
PHP Warning: PHP Startup: xdebug: Unable to initialize module
Module compiled with module API=20160303
PHP compiled with module API=20170718
These options need to match
in Unknown on line 0
This can be fixed by installing the latest xDebug.so. My problem with doing so was that is was writing to the wrong xDebug.so,not the MAMP server:
Build process completed successfully
Installing '/usr/lib/php/extensions/no-debug-non-zts-20160303/xdebug.so'
ERROR: failed to write /usr/lib/php/extensions/no-debug-non-zts-20160303/xdebug.so (copy(/usr/lib/php/extensions/no-debug-non-zts-20160303/xdebug.so): failed to open stream: Operation not permitted)
The second line of #Shawn's answer was the solution:
sudo /Applications/MAMP/bin/php/php7.2.7/bin/pecl config-set bin_dir /Applications/MAMP/bin/php/php7.2.7/bin/
I was then able to build the latest xDebug.so to the right directory using pecl install xdebug.