mysql安装 - 失败,出现依赖性错误

时间:2013-09-24 07:00:53

标签: mysql linux rpm

在我的32位linux系统中,我尝试安装mysql 5.

#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

有人可以帮我安装吗?

提前致谢

1 个答案:

答案 0 :(得分:1)

它表示您至少需要glibc版本2.4,并且2.3.4也不存在。由于RHEL4 ends at 2.3.4并且您没有,所以您的问题是:

  1. 您正尝试在(4.8之前的)RHEL4盒子上安装RHEL5 RPM。
  2. 您没有在RHEL5-64机器上安装32位版本的glibc
  3. 你说这是一个32位的盒子,所以它看起来像前者。您可能能够从源代码重建RPM,但如果您的操作系统已经过时,则不太可能正常工作。