缺少依赖 libmysqlclient.so.18(64bit)的解决办法

 

使用命令find / -name libmysqlclient.so*查询libmysqlclient.so,发现确实缺少libmysqlclient.so.18

 1、到mysql官网(https://downloads.mysql.com/archives/community/)下载安装包

[root@localhost ~]# wget https://downloads.mysql.com/archives/get/file/mysql-community-libs-compat-5.7.22-1.el7.x86_64.rpm


 2、安装mysql-community-libs-compat-5.7.22-1.el7.x86_64.rpm。

[root@localhost ~]# rpm -ivh mysql-community-libs-compat-5.7.22-1.el7.x86_64.rpm

 

 

参考地址
https://blog.csdn.net/ckg8933/article/details/83379279

posted @ 2019-09-16 15:34  harara  阅读(18623)  评论(0编辑  收藏  举报