I'm trying to install mongodb in Amazon Linux with below configuration
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"
I tried to install using Tarball and repo. However it got failed with below error
[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