When I run mongod (from version 2.8), I get the error:
Code:

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

I tried fixing this by running:

Code:
sudo ln -s /lib/libcrypto.so.1.0.0/usr/lib/libcrypto.so.10
sudo ln -s /lib/libssl.so.1.0.0/usr/lib/libssl.so.10
And also:
Code:

sudo ln -s /lib/libcrypto.so.1.0.0/lib/libcrypto.so.10
sudo ln -s /lib/libssl.so.1.0.0/lib/libssl.so.10
But it doesn't work, I get the same error.

If I instead do:

Code:

sudo ln -s /lib/libssl.so.1.0.0/lib64/libssl.so.10

I get the error:
Code:

mongod: error while loading shared libraries: libssl.so.10: wrong ELF class: ELFCLASS32
Does anyone know how to fix this?