mongo启动报错
问题描述:./mongod: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory;启动MongoDB时报错:
解决:尝试一些改软连接的方法都不好使,这里就不细说了,一下是我的解决方案,尝试有效;
在Linux中安装openssl10,进行OpenSSL升级(用yum升不上去,用rpm包简单有效),
具体操作:
1、下载rpm包
wget http://mirror.centos.org/centos/8/AppStream/x86_64/os/Packages/compat-openssl10-1.0.2o-3.el8.x86_64.rpm
2、安装rpm包
rpm -i compat-openssl10-1.0.2o-3.el8.x86_64.rpm
完美解决!