我在安装 perl-DBD-MySQL 时遇到依赖问题。服务器在 Centos 6.4 和 MySQL 5.5.31 上运行。
我运行了这个命令
yum install perl-DBD-MySQL
输出:
Loaded plugins: fastestmirror, security Loading mirror speeds from
cached hostfile * base: mirror.nl.webzilla.com * extras:
mirror.nl.webzilla.com * updates: mirrors.supportex.net Setting up
Install Process Resolving Dependencies
--> Running transaction check
---> Package perl-DBD-MySQL.x86_64 0:4.013-3.el6 will be installed
--> Processing Dependency: libmysqlclient.so.16(libmysqlclient_16)(64bit) for package:
perl-DBD-MySQL-4.013-3.el6.x86_64
--> Processing Dependency: libmysqlclient.so.16()(64bit) for package: perl-DBD-MySQL-4.013-3.el6.x86_64
--> Finished Dependency Resolution Error: Package: perl-DBD-MySQL-4.013-3.el6.x86_64 (base)
Requires: libmysqlclient.so.16()(64bit) Error: Package: perl-DBD-MySQL-4.013-3.el6.x86_64 (base)
Requires: libmysqlclient.so.16(libmysqlclient_16)(64bit) You could try using --skip-broken to work around the problem You
could try running: rpm -Va --nofiles --nodigest
我注意到我有libmysqlclient.so.18
,而不是libmysqlclient.so.16
在服务器上。
任何帮助表示赞赏,谢谢!