centOS启动mongoDB错误:./mongod: error while loading shared libraries: libcrypto.so.10: cannot open share

在centos7上安装并启动mongoDB,出现:

./mongod: error while loading shared libraries: libcrypto.so.10: cannot open shared object file: No such file or directory

问题是:libcrypto.so.10这个库 未安装。

安装就可以了:

[root]# rpm -qa  | grep libcrypto.so
[root]# rpm -qa  | grep libcrypt
[root]# dnf install compat-openssl10

你可能感兴趣的:(【MongoDB】,【VM,Linux】,mongodb)