When running the program under CentOS 8, I found the error while loading shared libraries. I didn’t know the solution for a while. Now I have explored and solved it, as follows:
1. Find the path where the missing library is located {find/- name} XXX
2. Put the path in /etc/ld.so.conf
3. At the command line, enter ldconfig
4. No error will be reported after compiling again
Read More:
- Centos7.2 Install vscode Error: error while loading shared libraries: libxkbcommon.so.0: cannot open shared pro
- [Solved] Ubuntu Compile AOSP Error: error while loading shared libraries: libncurses.so.5: cannot open shared object file: No such file or directory
- error while loading shared libraries [How to Solve]
- How to Solve Ubuntu20.04 Compile Error:error while loading shared libraries: libncurses.so.5
- Error while loading shared libraries [How to Solve]
- [Solved] mongod: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No s
- [Solved] error while loading shared libraries: libjson.so.0: cannot open shared object file: No such file or
- [Solved] error while loading shared libraries: libmysqlclient.so.20: cannot open shared object file: No such…
- [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
- Error: loading shared libraries: cannot open shared object file: No such file or directory
- [Solved] gawk: error while loading shared libraries: libreadline.so.4
- [Solved] Error reported using telnet command in Centos7: telnet: error while loading shared libraries: libtinfo.so.6
- error while loading shared libraries: libmetis.so [How to Solve]
- [Solved] error while loading shared libraries: libmysql.so.16
- error while loading shared libraries: libz.so.1 [How to Solve]
- [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 while loading error while loading shared libraries [How to Solve]
- Linux Ubuntu Django Error: uwsgi: error while loading shared libraries: libpcre.so.1
- Linux Execution Error “service mysqld start“error while loading shared libraries: libaio.so.1“