无法find并安装mysql_config

我从Inspircd得到这个错误

Can't exec "mysql_config": No such file or directory at /home/alpha/inspircd-2.0.19/make/utilities.pm line 392, <FLAGS> line 37. Make sure you have pkg-config installed In the case of gnutls configuration errors on debian, Ubuntu, etc, you should ensure that you have installed gnutls-bin as well as libgnutls-dev and libgnutls. 

我一直在寻找所有的互联网试图找出如何删除错误。

我已经阅读了多个线程,但没有运气。 我知道我需要libmysqlclient-dev包,但我不能为我的生活得到它安装。

我跑

 sudo apt-get install libmysqlclient-dev 

也尝试清洗,“-f”等,但我仍然得到错误。

 The following packages have unmet dependencies: libmysqlclient-dev : Depends: libmysqlclient18 (= 5.5.40-0ubuntu1) but 5.5.41-0ubuntu0.14.04.1 is to be installed E: Unable to correct problems, you have held broken packages. 

我用aptitude试了一下

 sudo aptitude install libmysqlclient-dev 

那么我降级libmysqlclient18一个版本,现在它应该如此。

您尝试删除所有PPA(个人包档案)?

尝试之前:

 sudo apt-get autoremove && sudo aptitude update && sudo aptitude install libmysqlclient-dev 

我在Bugtrack MYSQL看到:

https://goo.gl/34NUgo

您的错误是Bug Bug#73522如果libmysqlclient18来自percona,libmysqlclient-dev的安装将会失败

仍未解决:

状态: 不支持

环境:Ubuntu 14.04 LTS; 内核3.13,MySql 5.6

ATT

你试过升级你的libmysqlclient18包吗? (之前执行apt-get update ,以防万一…)