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

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.

Related

Mongodump/OpenSSL - "image not found" error

I recently updated macOS to Catalina and mongodump is no longer working. I've updated
dyld: Library not loaded: /usr/local/opt/openssl/lib/libssl.1.0.0.dylib
Referenced from: /usr/local/opt/mongodb#3.6/bin/mongodump
Reason: image not found
I see a few questions out there such as this one: dyld: Library not loaded: /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib. This is the accepted response:
brew update && brew upgrade
brew uninstall openssl
brew install https://github.com/tebelorg/Tump/releases/download/v1.0.0/openssl.rb
However, I get this error when trying to install version 1.0.0:
Error: Calling Non-checksummed download of openssl formula file from an arbitrary URL is disabled! Use 'brew extract' or 'brew create' and 'brew tap-new' to create a formula file in a tap on GitHub instead.
Is there any way around this? I'm not really sure where to go from that message.
You can check which version of Homebrew is installed by running brew --version
You can use my previous response to implement how Homebrew now suggests it. Or if you want to use previous version of Homebrew to use these commands then follow this:
Go to Homebrew folder cd /usr/local/Homebrew/
Checkout to the previous version by running git checkout 2.3.0
To install OpenSSL HOMEBREW_NO_AUTO_UPDATE=1 brew install https://github.com/tebelorg/Tump/releases/download/v1.0.0/openssl.rb
Source: https://github.com/kelaberetiv/TagUI/issues/635#issuecomment-699482920

How to fix missing package for MYSQL 8.0 on CENTOS 7

Summary
I try to install MYSQL community edition 8.0 on my Amazon Linux server
Command i have done so far
cd /home/ec2-user
wget https://dev.mysql.com/get/Downloads/MySQL-8.0/mysql-8.0.16-2.el7.x86_64.rpm-bundle.tar
tar -xvf mysql-8.0.16-2.el7.x86_64.rpm-bundle.tar
rpm -ivh mysql-community-server-8.0.16-2.el7.x86_64.rpm
I get the following error :
error: Failed dependencies:
libsasl2.so.3()(64bit) is needed by mysql-community-server-8.0.16-2.el7.x86_64
systemd is needed by mysql-community-server-8.0.16-2.el7.x86_64
What i tried by now
The library libsasl2.so.3()(64bit) is included in cyrus-sasl-lib
I tried to install it but still the same result
Here is the command i tried : sudo yum install cyrus-sasl-lib
Operating System
Linux ip-172-31-86-163 4.14.146-93.123.amzn1.x86_64 #1 SMP Tue Sep 24 00:45:23 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux
Expected Result :
Success
Error Message i have :
Failed dependencies:
libsasl2.so.3()(64bit) is needed by mysql-community-server-8.0.16-2.el7.x86_64
try
yum install /path/to/mysql-8...rpm
then yum will try to find the dependencies you need. If some dependencies cannot be found, you can try downloading them yourself, or enabling repositories. But be careful since you are trying to install recent software on an old os... I don't know if amazon has centos8 machines already, otherwise that would probably help you out :)

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"

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.

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