当前位置: 技术问答>linux和unix
linux安装mysql rpm包,Failed dependencies
来源: 互联网 发布时间:2016-11-27
本文导语: linux是CentOS5.4 [root@localhost mysql]# rpm -Uvh MySQL-server-advanced-5.5.8-1.rhel5.x86_64.rpm error: Failed dependencies: libaio.so.1()(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64 libaio.so.1(LIBAIO_0.1)(64bit) is n...
linux是CentOS5.4
[root@localhost mysql]# rpm -Uvh MySQL-server-advanced-5.5.8-1.rhel5.x86_64.rpm
error: Failed dependencies:
libaio.so.1()(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
libaio.so.1(LIBAIO_0.1)(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
libaio.so.1(LIBAIO_0.4)(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
libc.so.6()(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
libc.so.6(GLIBC_2.2.5)(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
libc.so.6(GLIBC_2.3)(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
libc.so.6(GLIBC_2.3.4)(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
libc.so.6(GLIBC_2.4)(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
libcrypt.so.1()(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
libcrypt.so.1(GLIBC_2.2.5)(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
libdl.so.2()(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
libdl.so.2(GLIBC_2.2.5)(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
libm.so.6()(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
libm.so.6(GLIBC_2.2.5)(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
libpthread.so.0()(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
libpthread.so.0(GLIBC_2.2.5)(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
libpthread.so.0(GLIBC_2.3.2)(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
librt.so.1()(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
librt.so.1(GLIBC_2.2.5)(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
这些缺少的so,去CentOS安装包里只能找到一部分。我安装那些包后,装MYSQL还是报这些错误。
另外,我用yum安装这些so也不成功。
[root@localhost mysql]# yum install glibc
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Setting up Install Process
Nothing to do
如果使用--nodeps来安装RPM,肯定是不行的。安装上了对运行会有影响。
求支招!3Q
[root@localhost mysql]# rpm -Uvh MySQL-server-advanced-5.5.8-1.rhel5.x86_64.rpm
error: Failed dependencies:
libaio.so.1()(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
libaio.so.1(LIBAIO_0.1)(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
libaio.so.1(LIBAIO_0.4)(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
libc.so.6()(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
libc.so.6(GLIBC_2.2.5)(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
libc.so.6(GLIBC_2.3)(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
libc.so.6(GLIBC_2.3.4)(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
libc.so.6(GLIBC_2.4)(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
libcrypt.so.1()(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
libcrypt.so.1(GLIBC_2.2.5)(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
libdl.so.2()(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
libdl.so.2(GLIBC_2.2.5)(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
libm.so.6()(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
libm.so.6(GLIBC_2.2.5)(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
libpthread.so.0()(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
libpthread.so.0(GLIBC_2.2.5)(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
libpthread.so.0(GLIBC_2.3.2)(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
librt.so.1()(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
librt.so.1(GLIBC_2.2.5)(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
这些缺少的so,去CentOS安装包里只能找到一部分。我安装那些包后,装MYSQL还是报这些错误。
另外,我用yum安装这些so也不成功。
[root@localhost mysql]# yum install glibc
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
Setting up Install Process
Nothing to do
如果使用--nodeps来安装RPM,肯定是不行的。安装上了对运行会有影响。
求支招!3Q
|
这一堆库 都属于glibc包 安装盘里不可能没有! 只要安装了glibc 上面缺的库都有了。
你说你在centos下载源也没找到 那是因为你把yum源改坏了 yum源里不可能没有glibc包
随便去了一个centos的下载源就找到了glibc的包 http://ftp.riken.jp/Linux/centos/5.6/os/i386/CentOS/glibc-2.5-58.i386.rpm
但是安装这个包 很可能还要依赖于别的包
|
这些缺少的so,去CentOS安装包里只能找到一部分。我安装那些包后,装MYSQL还是报这些错误。
-----------------------------------
centos安装文件里都会有的。 只是你自己没找到,你说哪些没找到??
另外你的yum有问题 不知道是不是你自己修改过yum源。
-----------------------------------
centos安装文件里都会有的。 只是你自己没找到,你说哪些没找到??
另外你的yum有问题 不知道是不是你自己修改过yum源。
|
刚才贴那个链接帖成32位的了 这个才是64位的
http://ftp.nara.wide.ad.jp/pub/Linux/centos/5.6/os/x86_64/CentOS/glibc-2.5-58.x86_64.rpm
http://ftp.nara.wide.ad.jp/pub/Linux/centos/5.6/os/x86_64/CentOS/glibc-2.5-58.x86_64.rpm
|
直接yum upgrade mysql-server不行吗?
|
还是源的问题,为什么要这么高版本的mysql
|
要不你就直接到mysql站点下载免安装的二进制包
|
主席正解啊
|
> libc.so.6()(64bit) is needed by MySQL-server-advanced-5.5.8-1.rhel5.x86_64
groupinstall:
development libraries,
development tools
groupinstall:
development libraries,
development tools