日期:2014-05-16 浏览次数:20796 次
今天安装Mysql 时报了一堆这样的错误,在网上找了一大堆资料把 lib补齐,还是不行.
最后悲剧滴发现我在32 位机器上装 64位的 mysql 安装包,真TMD悲剧啊,折腾了大半天,浪费我多少时间.特写此博
记念一下.
?
在装之前一定要检查一下机器的位数啊:
命令:getconf LONG_BIT
?
[root@localhost mysql]# rpm -ivh MySQL-client-5.5.17-1.rhel5.x86_64.rpm
error: Failed dependencies:
??????? libc.so.6()(64bit) is needed by MySQL-client-5.5.17-1.rhel5.x86_64
??????? libc.so.6(GLIBC_2.2.5)(64bit) is needed by MySQL-client-5.5.17-1.rhel5.x86_64
??????? libc.so.6(GLIBC_2.3)(64bit) is needed by MySQL-client-5.5.17-1.rhel5.x86_64
??????? libc.so.6(GLIBC_2.3.4)(64bit) is needed by MySQL-client-5.5.17-1.rhel5.x86_64
??????? libc.so.6(GLIBC_2.4)(64bit) is needed by MySQL-client-5.5.17-1.rhel5.x86_64
??????? libdl.so.2()(64bit) is needed by MySQL-client-5.5.17-1.rhel5.x86_64
??????? libdl.so.2(GLIBC_2.2.5)(64bit) is needed by MySQL-client-5.5.17-1.rhel5.x86_64
??????? libm.so.6()(64bit) is needed by MySQL-client-5.5.17-1.rhel5.x86_64
??????? libm.so.6(GLIBC_2.2.5)(64bit) is needed by MySQL-client-5.5.17-1.rhel5.x86_64
??????? libncurses.so.5()(64bit) is needed by MySQL-client-5.5.17-1.rhel5.x86_64
??????? libpthread.so.0()(64bit) is needed by MySQL-client-5.5.17-1.rhel5.x86_64
??????? libpthread.so.0(GLIBC_2.2.5)(64bit) is needed by MySQL-client-5.5.17-1.rhel5.x86_64
??????? libpthread.so.0(GLIBC_2.3.2)(64bit) is needed by MySQL-client-5.5.17-1.rhel5.x86_64
??????? librt.so.1()(64bit) is needed by MySQL-client-5.5.17-1.rhel5.x86_64
??????? librt.so.1(GLIBC_2.2.5)(64bit) is needed by MySQL-client-5.5.17-1.rhel5.x86_64