Error:
mongodb install error: mongod: error while loading shared libraries: liblzma.so.0: cannot open shared object file: No such file or directory
Screeshots:
Solution:
1. Modify the /etc/profile file
Check the environment variables, however, no error was found
2. Modify the /etc/ld.so.conf file
1. After adding /usr/local/lib
to /etc/ld.so.conf
, I found that there is no liblzma.so.0
in this directory, only liblzma.so.5
2. At the command line, type sudo find / -name liblzma.so.0* -type f
and find that liblzma.so.0
is not found
3. Type yum install xz-compat-libs
on the command line to download liblzma.so.0
4. OK!
Read More:
- [Solved] error while loading shared libraries: libopencv_highgui.so.3.4: cannot open shared object file…
- DM Install Error: error while loading shared libraries: libdmnsort.so:
- error while loading shared libraries: lib*.so: cannot open shared object file: No such file or directory
- ./popins2: error while loading shared libraries: libbifrost.so: cannot open shared object file: No such file or directory
- [Solved] curl error while loading shared libraries libcrypto.so.1.0.0
- [Solved] ./my_cmake_exe: error while loading shared libraries: libswresample.so.4: cannot open shared object file: No such file or directory
- ffmpeg:error while loading shared libraries: libopenh264.so.5
- [Samtools] Run error: error while loading shared libraries: libcrypto.so.1.0.0 or libncurses.so.5 or libtinfow.so.5
- [Solved] Mac Install mongodb error: NonExistentPath: Data directory /data/db not found.
- [Solved] MongoDB Error: FaileError: dToParse: Password must be URL Encoded for mongodb:// URL:
- [Solved] PCL Install error: ‘shared_ptr’ does not name a type
- [Solved] Installation failed due to: ‘INSTALL_FAILED_SHARED_USER_INCOMPATIBLE: Package com.
- Mongodb Crash Error: Too many open files [How to Solve]
- How to Solve SpringBoot MongoDB MongoAutoConfiguration Startup Error
- [Solved] MongoDB Error: TypeError: Object of type ObjectId is not JSON serializable
- Mongodb error: authentication failed [How to Solve]
- [Solved] java.lang.UnsatisfiedLinkError: dlopen failed: /lib/arm64/libc++_shared.so not found
- Robo3T Remote Connect MongoDB Error: Failed to refresh ‘Collections‘. Error: ListCollections failed
- [How to Fix]Unable to find the requested Boost libraries
- [Solved] MongoDB Update User Error: Error: not authorized on admin to execute command