你好,我正在尝试根据上述步骤通过 ssh(PuTTY)在我的 CentOS 5.9 上远程安装 OpenMM这里(是的,我知道该指南适用于 CentOS 6.x)。
但是当我尝试这样做时:
yum install mysql-server MySQL-python
它说:
没有可用的 mysql-server 包。
Processing Dependency: libmysqlclient_r.so.15(libmysqlclient_15)(64bit) for package: MySQL-python
--> Processing Dependency: libmysqlclient_r.so.15()(64bit) for package: MySQL-python
--> Finished Dependency Resolution
MySQL-python-1.2.3-0.1.c1.el5.x86_64 from base has depsolving problems
--> Missing Dependency: libmysqlclient_r.so.15(libmysqlclient_15)(64bit) is needed by package MySQL-python-1.2.3-0.1.c1.el5.x86_64 (base)
MySQL-python-1.2.3-0.1.c1.el5.x86_64 from base has depsolving problems
--> Missing Dependency: libmysqlclient_r.so.15()(64bit) is needed by package MySQL-python-1.2.3-0.1.c1.el5.x86_64 (base)
Error: Missing Dependency: libmysqlclient_r.so.15(libmysqlclient_15)(64bit) is needed by package MySQL-python-1.2.3-0.1.c1.el5.x86_64 (base)
Error: Missing Dependency: libmysqlclient_r.so.15()(64bit) is needed by package MySQL-python-1.2.3-0.1.c1.el5.x86_64 (base)
我的服务器上已经安装了 MySQL,并且它已经为一些应用程序提供服务。我想我不需要这个包。但是我不确定如何解决 MySQL-python 缺少的依赖项。
編輯位
output of yum list installed | grep mysql
root@xxxxxxxx [/home/temp]# yum list installed |grep mysql
cpanel-mysql.x86_64 5.0.96-1.cp1136 installed
cpanel-mysql-libs.x86_64 5.0.96-1.cp1136 installed
cpanel-perl-514-DBD-mysql.x86_64 4.021-1.cp1136 installed
root@xxxxxxx [/home/temp]#
编辑结束
答案1
你只需要安装 mysql
# yum provides "*/libmysqlclient_r.so.15"
mysql-5.0.95-5.el5_9.i386 : MySQL client programs and shared libraries.
Repo : installed
Matched from:
Filename : /usr/lib/mysql/libmysqlclient_r.so.15
# yum install mysql MySQL-python