Unable to install Aerospike 5.0.0.7 on Amazon Linux 2

I followed all the steps from https://www.aerospike.com/docs/operations/install/linux/other for installing Aerospike CE 5.0.0.7 on Amazon Linux 2 EC2 instance. However I am seeing below error while installing:

$ sudo ./bin/aerospike start
error: start failed due to an error.
/aerospike-server/bin/asd: error while loading shared libraries: libcrypto.so.1.0.0: cannot open shared 
object file: No such file or directory

Here is other useful information:

$ openssl version
OpenSSL 1.0.2k-fips  26 Jan 2017

$ ls -ls /usr/lib64/libcrypto*
0 lrwxrwxrwx 1 root root      19 Jul 11 02:04 /usr/lib64/libcrypto.so -> libcrypto.so.1.0.2k
2408 -rwxr-xr-x 1 root root 2462992 Mar 19 20:03 /usr/lib64/libcrypto.so.1.0.2k
0 lrwxrwxrwx 1 root root      19 May 27 00:46 /usr/lib64/libcrypto.so.10 -> libcrypto.so.1.0.2k

What am I missing? Thanks!

For Amazon Linux 2, we usually recommend installing an EL7 , Redhat 7 package. Please see:

and

https://www.aerospike.com/docs/operations/install/linux/el6/index.html

I don’t belive the linux other package (debian base) with a different libcrypto requirement will work on AMZN2 linux. Please try the EL7 rpm.

1 Like