我正在尝试使用以下配置在亚马逊 Linux 中安装 MongoDB
NAME="Amazon Linux"
VERSION="2023"
ID="amzn"
ID_LIKE="fedora"
VERSION_ID="2023"
PLATFORM_ID="platform:al2023"
PRETTY_NAME="Amazon Linux 2023"
ANSI_COLOR="0;33"
CPE_NAME="cpe:2.3:o:amazon:amazon_linux:2023"
HOME_URL="https://aws.amazon.com/linux/"
BUG_REPORT_URL="https://github.com/amazonlinux/amazon-linux-2023"
SUPPORT_END="2028-03-01"
我尝试使用Tarball和repo进行安装。但是它失败了,出现以下错误
[root@ip ~]# mongod --version
mongod: /lib64/libcrypto.so.10: version `OPENSSL_1.0.2' not found (required by mongod)
mongod: /lib64/libcrypto.so.10: version `libcrypto.so.10' not found (required by mongod)
mongod: /lib64/libssl.so.10: version `libssl.so.10' not found (required by mongod)
[root@ip ~]# openssl version
OpenSSL 3.0.8 7 Feb 2023 (Library: OpenSSL 3.0.8 7 Feb 2023)
[root@i ~]#
tar -zxvf mongodb-linux-x86_64-amazon2-6.0.5.tgz
mongod version