error while loading shared libraries: libmysqlclient.so.20: cannot open shared object file: No such
程序员文章站
2024-02-21 23:16:58
...
异常:error while loading shared libraries: libmysqlclient.so.20: cannot open shared object file: No such file or directory
解决
# 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 #写入
# ldconfig -v
上一篇: hexo安装与配置
下一篇: ElasticSearch ik分词器
推荐阅读
-
Linux error while loading shared libraries: cannot open shared object file: No such file or director
-
error while loading shared libraries: librediscluster.so..: cannot open shared object file: No such
-
error while loading shared libraries: libfslio.so: cannot open shared object file: No such file
-
error while loading shared libraries: libmysqlclient.so.20: cannot open shared object file: No such
-
解决启动MongoDB错误:error while loading shared libraries: libstdc++.so.6:cannot open shared object file:
-
解决error while loading shared libraries: libXXX.so.X: cannot open shared object file: No such file
-
error while loading shared libraries: xxx: cannot open shared object file: No such file or directory
-
gmx-MMPBSA — error while loading shared libraries: libgfortran.so.3: cannot open shared object file
-
mysql初始化/usr/local/mysql/bin/mysqld: error while loading shared libraries: libnuma.so.1: cannot open shared object file: No such file or directory
-
错误解决:error while loading shared libraries: libcurl.so.4: cannot open shared object file: No such file or directory,errorwhileloading_PHP教程