libaio.so.1()(64bit) is needed by MySQL-server 问题解决访问

来源:互联网 发布:java 弱引用 使用场景 编辑:程序博客网 时间:2024/05/21 07:03

错误信息

Linux CenterOs 64位中安装 MySQL-server-5.5.25a-1.rhel5.x86_64.rpm 出现以下错误


[root@localhost upload]# rpm -ivh MySQL-server-5.5.25a-1.rhel5.x86_64.rpm
error: Failed dependencies:
libaio.so.1()(64bit) is needed by MySQL-server-5.5.25a-1.rhel5.x86_64
libaio.so.1(LIBAIO_0.1)(64bit) is needed by MySQL-server-5.5.25a-1.rhel5.x86_64
libaio.so.1(LIBAIO_0.4)(64bit) is needed by MySQL-server-5.5.25a-1.rhel5.x86_64


原因分析:  从以上错误信息可以看出是因为缺少库libaio,所以需要安装libaio

        解决方案:  安装libaio-0.3.107-10.el6.x86_64.rpm

下载地址:
http://mirror.centos.org/centos/6/os/x86_64/Packages/libaio-0.3.107-10.el6.x86_64.rpm
rpm   -ivh    libaio-0.3.107-10.el6.x86_64.rpm  安装

然后 rpm  -Uvh   安装mysql数据库

安装完成后,即可成功安装MySQL-server-5.5.25a-1.rhel5.x86_64.rpm




0 0
原创粉丝点击