After mongodb is installed, mongod reports the following error:
mongod: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No such file or directory
Solution:
# Switch to the lib directory
cd ~/.conda/envs/my_gdal/lib # my_gdal:virtual environment
# Check if the file exists
ls -lh | grep "libcrypto.so.1.1"
-rwxrwxrwx 1 root root 3.2M Jun 4 15:43 libcrypto.so.1.1
# If the file exists execute
sudo ldconfig ~/.conda/envs/my_gdal/lib
# If the file does not exist
sudo find/-name 'libcrypto.so.1.1'
# Execute: sudo ldconfig path found
sudo ldconfig ~/.conda/pkgs/openssl-1.1.1q-h7f8727e_0/lib/
Read More:
- [Solved] error while loading shared libraries: libmysqlclient.so.20: cannot open shared object file: No such…
- [Solved] error while loading shared libraries: libjson.so.0: cannot open shared object file: No such file or
- [Solved] ××: error while loading shared libraries: ××.so.19: cannot open shared object file: No such file or directory
- [Solved] error while loading shared libraries: libmpc.so.3: cannot open shared object file
- [Solved] Ubuntu Compile AOSP Error: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
- [Solved] /usr/local/libexec/mecab/mecab-dict-index: error while loading shared libraries: libmecab.so.2: cannot open shared object file: No such file or directory
- Error: loading shared libraries: cannot open shared object file: No such file or directory
- [Solved] openssl error: libcrypto.so.1.0.0: cannot open shared object file: Error 40
- Centos7.2 Install vscode Error: error while loading shared libraries: libxkbcommon.so.0: cannot open shared pro
- [Solved] gawk: error while loading shared libraries: libreadline.so.4
- Linux Ubuntu ImportError: Libtk8.5.so: cannot open shared object file:No such file Install tkinter Library
- [Solved] error while loading shared libraries: libmysql.so.16
- [Solved] Python Import mmcv Warning: ImportError: libGL.so.1: cannot open shared object file: No such file or directory
- Petalinux Failed to open PetaLinux lib: librdi_commonxillic.so: cannot open shared object file:
- error while loading shared libraries: libmetis.so [How to Solve]
- error while loading shared libraries: libz.so.1 [How to Solve]
- Linux Ubuntu Django Error: uwsgi: error while loading shared libraries: libpcre.so.1
- [Solved] ImportError:lib***.so–cannot open shared object file: No such…(pycharm/clion Error but shell No Error)
- Error while loading shared libraries [How to Solve]
- How to Solve Ubuntu20.04 Compile Error:error while loading shared libraries: libncurses.so.5