2013-09-24 64 views
-1

在我的32位Linux系统,我试图安装mysql 5mysql安装 - 失败,依赖错误

#rpm -ivh MySQL-server-community-5.1.72-1.rhel5.i386.rpm MySQL-client-community-5.1.72-1.rhel5.i386.rpm 

warning: MySQL-server-community-5.1.72-1.rhel5.i386.rpm: V3 DSA signature: NOKEY, key ID 5072e1f5 
error: Failed dependencies: 
     libc.so.6(GLIBC_2.3.4) is needed by MySQL-server-community-5.1.72-1.rhel5 
     libc.so.6(GLIBC_2.4) is needed by MySQL-server-community-5.1.72-1.rhel5 
     libpthread.so.0(GLIBC_2.3.4) is needed by MySQL-server-community-5.1.72-1.rhel5 
     rtld(GNU_HASH) is needed by MySQL-server-community-5.1.72-1.rhel5 
     libc.so.6(GLIBC_2.3.4) is needed by MySQL-client-community-5.1.72-1.rhel5 
     libc.so.6(GLIBC_2.4) is needed by MySQL-client-community-5.1.72-1.rhel5 
     rtld(GNU_HASH) is needed by MySQL-client-community-5.1.72-1.rhel5 

谁能帮我安装?

在此先感谢

+0

SO以外的问题;属于[sf];另外,你不明白哪部分错误信息? –

+0

你必须在安装mysql-community-versions之前检查glibc的依赖关系 –

回答

1

它说你需要glibc版本2.4作为最低限度,并2.3.4不存在为好。由于RHEL4 ends at 2.3.4和你没有它,你的问题可以是:

  1. 你试图安装一个(预4.8)RHEL4框中RHEL5 RPM。
  2. 您没有安装在RHEL5-64盒上的32位版本的glibc

你说这是一个32位的盒子,所以它看起来像前者。您可能能够从源代码重建RPM,但是如果您的操作系统是旧的,则不太可能工作。