1. You can try to install this dependency first, and then try to compile whether it can be compiled normally
apt-get --reinstall install libmpc3
2. If it still doesn’t work, you can check whether there is this file in your compilation package path, or whether there is this file in other paths. If so, open the file with VI and insert a line below your path
sudo vi /etc/ld.so.conf
For example, mine is/opt/usr/lib
and then refresh
sudo ldconfig
Read More:
- [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] 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
- 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
- Petalinux Failed to open PetaLinux lib: librdi_commonxillic.so: cannot open shared object file:
- 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]
- Linux Ubuntu ImportError: Libtk8.5.so: cannot open shared object file:No such file Install tkinter Library
- [Solved] Python Import mmcv Warning: ImportError: libGL.so.1: cannot open shared object file: No such file or directory
- How to Solve Ubuntu20.04 Compile Error:error while loading shared libraries: libncurses.so.5
- Error while loading shared libraries [How to Solve]
- error while loading shared libraries [How to Solve]
- Linux Ubuntu Django Error: uwsgi: error while loading shared libraries: libpcre.so.1
- [Solved] openssl error: libcrypto.so.1.0.0: cannot open shared object file: Error 40