I'm using the Anaconda package manager, and I installed the mongodb
package in Anaconda using the conda install mongodb
command. But when I run mongo
to start the Mongo shell, I get an error as follows:
mongo: error while loading shared libraries: libssl.so.6: cannot open shared object file: No such file or directory
How do I fix this issue?
To open up the MongoDB shell, run the mongo command from your server prompt. By default, the mongo command opens a shell connected to a locally-installed MongoDB instance running on port 27017 . Try running the mongo command with no additional parameters: mongo.
You can start MongoDB on your computer with the mongod command. Keep the mongod window running when you want to work with your local MongoDB. MongoDB stops when you close the window.
Try re-installing the latest version of MongoDB through the Anaconda package manager
conda install -c anaconda mongodb=3.3.9
Seed details in the Anaconda documentation
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