首页 > 数据库 > MySQL > 正文

装MYSQL 5.1.40遇到的libmysqlclient.so.16 错误

2024-07-24 12:31:42
字体:
来源:转载
供稿:网友
       [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%]

(编辑:武林网)

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表