我看到试图安装Perl-Mysql DBD, mysql_config不能't被发现,并试图找到mysql_config,但没有找到它。所以,我试着安装mysql-devel,然后我得到这个错误-
[nbezzala@stats /]$ sudo yum install mysql-devel
[sudo] password for nbezzala:
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirrors.cmich.edu
* extras: holmes.umflint.edu
* updates: mirror.symnds.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package mysql-devel.i386 0:5.0.77-4.el5_6.6 set to be updated
--> Processing Dependency: libmysqlclient.so.15 for package: mysql-devel
--> Processing Dependency: libmysqlclient_r.so.15 for package: mysql-devel
---> Package mysql-devel.x86_64 0:5.0.77-4.el5_6.6 set to be updated
--> Running transaction check
---> Package mysql.i386 0:5.0.77-4.el5_6.6 set to be updated
--> Processing Conflict: mysql conflicts MySQL
--> Finished Dependency Resolution
mysql-5.0.77-4.el5_6.6.i386 from base has depsolving problems
--> mysql conflicts with MySQL-server
Error: mysql conflicts with MySQL-server
You could try using --skip-broken to work around the problem
You could try running: package-cleanup --problems
package-cleanup --dupes
rpm -Va --nofiles --nodigest
The program package-cleanup is found in the yum-utils package.
[nbezzala@stats /]$
我有同样的问题,不得不在我的Debian linux上安装libmysqlclient-dev。mysql_config
文件在那个包里
mysql v 5.5.17安装在机器上,我试图通过yum安装5.0.77组件。谢谢Alexandr。