Linux - 找不到依赖项 libmysqlclient.so.15
我开始安装,现在我收到文件依赖项错误,
请参阅:
root@ca [~/sitebuilder]# rpm -Uhv updates/*.rpm
error: Failed dependencies:
libmysqlclient.so.15()(64bit) is needed by php5sb-5.2.1-10swsoft.x86_64
libmysqlclient.so.15(libmysqlclient_15)(64bit) is needed by php5sb-5.2.1-10swsoft.x86_64
How to install a libmysqlclient.so.15 dependency on centos?
谢谢。
I start the instalation, now i receive a error for file dependencies
see:
root@ca [~/sitebuilder]# rpm -Uhv updates/*.rpm
error: Failed dependencies:
libmysqlclient.so.15()(64bit) is needed by php5sb-5.2.1-10swsoft.x86_64
libmysqlclient.so.15(libmysqlclient_15)(64bit) is needed by php5sb-5.2.1-10swsoft.x86_64
How to install a libmysqlclient.so.15 dependence on centos?
Thanks.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(4)
我以前遇到过这个问题。
我检查了libmysqlclient.so版本,它是libmysqlclient.so.16,但不是libmysqlclient.so.15。
所以我使用MySQL-shared-compat rpm包来解决这个问题。
跑步:
I have encountered this problem before.
I checked libmysqlclient.so version, it's libmysqlclient.so.16 but not libmysqlclient.so.15.
so I used MySQL-shared-compat rpm package to solve this.
run:
缺少的软件包是 Mysql-Shared-compat。
在这里找到它 http://mirrors.dedipower.com/www.mysql.com/Downloads/MySQL-5.5/MySQL-shared-compat-5.5.23-1.sles11.x86_64.rpm
The missing package was Mysql-Shared-compat.
found it here http://mirrors.dedipower.com/www.mysql.com/Downloads/MySQL-5.5/MySQL-shared-compat-5.5.23-1.sles11.x86_64.rpm
您可以尝试通过以下命令找到正确的包:
then:
您可以通过执行
yum search package_name
来仔细检查包名称。如果找不到,您可以尝试修复 yum 存储库,例如通过配置 Webtatic Yum 存储库。
要设置存储库,请安装 webtatic-release RPM:
Webtatic EL6 for CentOS/RHEL 6:
Webtatic EL5.1 for CentOS/RHEL 5:
Webtatic 5 for CentOS/RHEL 5:
并再次重复搜索/重新安装过程。
如果您正在运行cPanel,您可以尝试运行以下脚本:
如果没有帮助,请删除损坏的软件包,例如
rpm -e cpanel-mysql-5.0.96-1。 cp1136
并再次运行检查命令。如果仍然不起作用,另一件事可能是通过以下方式重新编译 Apache(仅当您的 LAMP 损坏时):
相关
CentOS
Ubuntu < /强>
You can try to find the right package by the following command:
then:
You may double check the package name by doing
yum search package_name
.If not found, you may try to fix your yum repositories e.g. by configuring Webtatic Yum Repository.
To set up the repository, install the webtatic-release RPM:
Webtatic EL6 for CentOS/RHEL 6:
Webtatic EL5.1 for CentOS/RHEL 5:
Webtatic 5 for CentOS/RHEL 5:
and repeat the search/reinstall process again.
If you're running cPanel, you may try to run the following script:
If won't help, remove the broken package e.g.
rpm -e cpanel-mysql-5.0.96-1.cp1136
and run the check command again.If still doesn't work, another thing could be to recompile your Apache (only if your LAMP is broken) by:
Related
CentOS
Ubuntu
就像@lai的回答一样,
我安装了MySQL-shared-compat-5.1.47-1.rhel5.x86_64.rpm。但这没有用。
然后我安装MySQL-shared-5.1.47-1.rhel5.x86_64.rpm。成功了!
我希望这可以帮助你。祝你好运 :)
Like the answer of @lai
I install the MySQL-shared-compat-5.1.47-1.rhel5.x86_64.rpm. But it didn't work.
And then I install the MySQL-shared-5.1.47-1.rhel5.x86_64.rpm. It worked!
I hope this can help you. Good luck :)