Exception: error while loading shared libraries: libmysqlclient.so.20: cannot open shared object file: No such file or directory
Solution:
# find/ -name 'libmysqlclient*'
/usr/local/mysql/lib/libmysqlclient.a
/usr/local/mysql/lib/libmysqlclient.so.20.3.10
/usr/local/mysql/lib/libmysqlclient.so
/usr/local/mysql/lib/libmysqlclient.so.20
/usr/lib64/mysql/libmysqlclient.so.18
/usr/lib64/mysql/libmysqlclient.so.18.0.0
# ln -s /usr/local/mysql/lib/libmysqlclient.so.20 /usr/local/lib/libmysqlclient.so.20
# vim /etc/ld.so.conf
/usr/local/lib #Write
# ldconfig -v
Read More:
- [Solved] error while loading shared libraries: libjson.so.0: cannot open shared object file: No such file or
- [Solved] mongod: error while loading shared libraries: libcrypto.so.1.1: cannot open shared object file: No s
- [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
- [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] error while loading shared libraries: libmysql.so.16
- Centos7.2 Install vscode Error: error while loading shared libraries: libxkbcommon.so.0: cannot open shared pro
- error while loading shared libraries: libmetis.so [How to Solve]
- error while loading shared libraries: libz.so.1 [How to Solve]
- Petalinux Failed to open PetaLinux lib: librdi_commonxillic.so: cannot open shared object file:
- Error while loading shared libraries [How to Solve]
- Linux Ubuntu ImportError: Libtk8.5.so: cannot open shared object file:No such file Install tkinter Library
- [Solved] openssl error: libcrypto.so.1.0.0: cannot open shared object file: Error 40
- [Solved] gawk: error while loading shared libraries: libreadline.so.4
- [Solved] Python Import mmcv Warning: ImportError: libGL.so.1: cannot open shared object file: No such file or directory
- error while loading shared libraries [How to Solve]
- Linux Ubuntu Django Error: uwsgi: error while loading shared libraries: libpcre.so.1
- How to Solve Ubuntu20.04 Compile Error:error while loading shared libraries: libncurses.so.5