I use this tutorial to install mongodb on my 64 bit Ubuntu OS:
http://docs.mongodb.org/manual/tutorial/install-mongodb-on-linux/
After finish the installation i enter:
mongo
Since then, an error message appear:
mongod: error while loading shared libraries: libc++.so.1: cannot open shared object file: No such file or directory
Do you have any idea to solve this problem ? Here is my system information:
OS: Ubuntu 14.04 LTS.
OS Type: 64 bit.
MongoDB version: mongodb-linux-x86_64-ubuntu1410-clang-3.0.6.
I use Ubuntu 14.04.3 64-bits (mongodb-linux-x86_64-ubuntu1410-clang-3.2.4), I was able to install libc++.so.1 related packages using the following commands:
sudo apt-get update
sudo apt-get install libc++1
Note: My Ubuntu VM using corporate proxy, initially 'sudo apt-get install libc++1' gave an error. Since I have Synaptic Package Manager installed, I tried Synaptic to install libc++1 and it was successful. MongoDB started and worked. To double check whether the mentioned command works, I did
sudo apt-get remove libc++1
sudo apt-get install libc++1
and the commands worked. In case you need to using Synaptic as well, here is the screen shot
OS: Ubuntu 16.04
MongoDB: 3.2.6
Requires to execute below commands in order to work with mongod
sudo apt-get update
sudo apt-get install libc++1
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With