在CentOS中安装32位或64位MySql报错error: Failed dependencies解决办法

时间:2015-01-27 00:30:40   收藏:0   阅读:371

在CentOS中安装MySql报错error: Failed dependencies解决办法

安装64位MySql报错内容如下:
error: Failed dependencies:    
    libaio.so.1()(64bit) is needed by MySQL-server-5.6.19-1.el6.x86_64
    libaio.so.1(LIBAIO_0.1)(64bit) is needed by MySQL-server-5.6.19-1.el6.x86_64
    libaio.so.1(LIBAIO_0.4)(64bit) is needed by MySQL-server-5.6.19-1.el6.x86_64

通过安装64位libaio.rpm解决,如下:
    rpm -ivh libaio-0.3.107-10.el6.x86_64
   
安装32位MySql报错内容如下:
error: Failed dependencies:
    libaio.so.1 is needed by MySQL-server-5.5.31-2.el6.i686
    libaio.so.1(LIBAIO_0.1) is needed by MySQL-server-5.5.31-2.el6.i686
    libaio.so.1(LIBAIO_0.4) is needed by MySQL-server-5.5.31-2.el6.i686
    
通过安装32位libaio.rpm解决,
    rpm -ivh libaio-0.3.107-10.el6.i686.rpm
    
    
安装MySql时依赖libaio库,而系统缺少libaio包导致

原文:http://www.cnblogs.com/mengyao/p/4251630.html

评论(0
© 2014 bubuko.com 版权所有 - 联系我们:wmxa8@hotmail.com
打开技术之扣,分享程序人生!