yum安装软件时报错libmysqlclient.so.18()(64bit)
问题复现
在centos7.5的环境中按照mysql时候,报错:
需要:libmysqlclient.so.18(libmysqlclient_18)(64bit) 正在删除: 1:mariadb-libs-5.5.64-1.el7.x86_64 (@anaconda) libmysqlclient.so.18(libmysqlclient_18)(64bit) 取代,由: mysql-community-libs-8.0.21-1.el8.x86_64 (mysql80-community) 未找到 更新,由: 1:mariadb-libs-5.5.65-1.el7.x86_64 (base) libmysqlclient.so.18(libmysqlclient_18)(64bit)
原因分析
缺少Percona-XtraDB-Cluster-shared-55-5.5.37-25.10.756.el6.x86_64.rpm这个包
问题解决
# wget http://www.percona.com/redir/downloads/Percona-XtraDB-Cluster/5.5.37-25.10/RPM/rhel6/x86_64/Percona-XtraDB-Cluster-shared-55-5.5.37-25.10.756.el6.x86_64.rpm# rpm -ivh Percona-XtraDB-Cluster-shared-55-5.5.37-25.10.756.el6.x86_64.rpm