我正在尝试在我的CentOS系统上安装mysql-devel,但它失败了一些奇怪的依赖问题。这是我尝试从命令行安装时得到的结果。
$ sudo yum install mysql-devel
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.steadfast.net
* epel: epel.mirror.freedomvoice.com
* extras: linux.mirrors.es.net
* updates: ftp.linux.ncsu.edu
Setting up Install Process
...
...
--> Finished Dependency Resolution
Error: Package: mysql-5.1.69-1.el6_4.x86_64 (updates)
Requires: libmysqlclient_r.so.16()(64bit)
Available: mysql-libs-5.1.66-2.el6_3.x86_64 (base)
libmysqlclient_r.so.16()(64bit)
Available: mysql-libs-5.1.67-1.el6_3.x86_64 (updates)
libmysqlclient_r.so.16()(64bit)
Available: mysql-libs-5.1.69-1.el6_4.x86_64 (updates)
libmysqlclient_r.so.16()(64bit)
Installed: mysql-libs-5.5.32-1.el6.remi.x86_64 (@remi)
Not found
Error: Package: mysql-devel-5.1.69-1.el6_4.x86_64 (updates)
Requires: libmysqlclient_r.so.16()(64bit)
Available: mysql-libs-5.1.66-2.el6_3.x86_64 (base)
libmysqlclient_r.so.16()(64bit)
Available: mysql-libs-5.1.67-1.el6_3.x86_64 (updates)
libmysqlclient_r.so.16()(64bit)
Available: mysql-libs-5.1.69-1.el6_4.x86_64 (updates)
libmysqlclient_r.so.16()(64bit)
Installed: mysql-libs-5.5.32-1.el6.remi.x86_64 (@remi)
Not found
Error: Package: mysql-5.1.69-1.el6_4.x86_64 (updates)
Requires: libmysqlclient_r.so.16(libmysqlclient_16)(64bit)
Available: mysql-libs-5.1.66-2.el6_3.x86_64 (base)
libmysqlclient_r.so.16(libmysqlclient_16)(64bit)
Available: mysql-libs-5.1.67-1.el6_3.x86_64 (updates)
libmysqlclient_r.so.16(libmysqlclient_16)(64bit)
Available: mysql-libs-5.1.69-1.el6_4.x86_64 (updates)
libmysqlclient_r.so.16(libmysqlclient_16)(64bit)
Installed: mysql-libs-5.5.32-1.el6.remi.x86_64 (@remi)
Not found
有关如何解决此问题的任何想法?
答案 0 :(得分:0)
我通过卸载并重新安装mysql来解决这个问题。