裝MYSQL 5.1.40遇到的libmysqlclient.so.16 錯誤

Steven1981發表於2009-10-27
[root@space install]# rpm -Uvh MySQL-client-community-5.1.40-0.rhel5.x86_64.rpm
error: Failed dependencies:
libmysqlclient.so.16()(64bit) is needed by MySQL-client-community-5.1.40-0.rhel5.x86_64
libmysqlclient.so.16(libmysqlclient_16)(64bit) is needed by MySQL-client-community-5.1.40-0.rhel5.x86_64
libmysqlclient_r.so.16()(64bit) is needed by MySQL-client-community-5.1.40-0.rhel5.x86_64
libmysqlclient_r.so.16(libmysqlclient_16)(64bit) is needed by MySQL-client-community-5.1.40-0.rhel5.x86_64
[@more@]

其實缺少的LIB檔案,你還需要下載一個包:
MySQL-shared-community-5.1.40-0.rhel5.x86_64.rpm

在:
http://dev.mysql.com/downloads/mysql/5.1.html

下載後安裝:
[root@space install]# rpm -ivh MySQL-shared-community-5.1.40-0.rhel5.x86_64.rpm
Preparing... ########################################### [100%]
1:MySQL-shared-community ########################################### [100%]

MYSQL 也安裝成功:

[root@space install]# rpm -Uvh MySQL-client-community-5.1.40-0.rhel5.x86_64.rpm
Preparing... ########################################### [100%]
1:MySQL-client-community ########################################### [100%]

來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/703656/viewspace-1028192/,如需轉載,請註明出處,否則將追究法律責任。

相關文章