Trying to start mongodb-linux-x86_64-rhel62-4.4.2/
for the first time:
./mongo: error while loading shared libraries: liblzma.so.0: cannot open shared object file: No such file or directory
Trying to start mongodb-linux-x86_64-rhel62-4.4.2/
for the first time:
./mongo: error while loading shared libraries: liblzma.so.0: cannot open shared object file: No such file or directory
From the folder name it looks like you are installing from tarball? You chosen installation method is good information to know.
The prerequisites for a tarball installation on RedHat/CentOS/Oracle Linux are:
Use the following command to install the dependencies required for the MongoDB Community .tgz tarball:
sudo yum install libcurl openssl xz-libs
liblzma.so.0 is provided by the xz-libs dependency.
Thank you that is very helpful!
This topic was automatically closed 5 days after the last reply. New replies are no longer allowed.