Problem
I downloaded the mongodb 3.0.7
tar files. Then I added the bin directory to my path:
export PATH=<mongodb-install-directory>/bin:$PATH
Then when I run the mongodb server:
mongod --fork --logpath "/home/me/mongolog" --dbpath "/home/me/data"
I get this error:
mongod: error while loading shared libraries: libssl.so.10: cannot open shared object file: No such file or directory
What I did
I tried this solution. In brief I updated my openssl:
sudo apt-get update
sudo apt-get install libssl1.0.0 libssl-dev
and then:
cd /lib/x86_64-linux-gnu
sudo ln -s libssl.so.1.0.0 libssl.so.10
sudo ln -s libcrypto.so.1.0.0 libcrypto.so.10
but it says that it cannot find libssl.so.10
and libcrypto.so.10
. I don't know what to do!