我看到Trying to install Perl-Mysql DBD, mysql_config can't be found,并试图找到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 /]$
答案 0 :(得分:3)
我遇到了同样的问题,不得不在我的Debian linux上安装 libmysqlclient-dev 。
该mysql_config
文件位于该包中。
答案 1 :(得分:0)
在机器上安装了mysql v 5.5.17,我试图通过yum安装5.0.77组件。谢谢亚历山大。