我从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.
答案 0 :(得分:9)
我用aptitude尝试了它
sudo aptitude install libmysqlclient-dev
然后我将libmysqlclient18降级为一个版本,现在它可以正常工作。
答案 1 :(得分:2)
您尝试删除所有PPA(个人包存档)吗?
在尝试之前:
sudo apt-get autoremove && sudo aptitude update && sudo aptitude install libmysqlclient-dev
我在Bugtrack MYSQL中看到了:
您的错误是错误知道错误#73522如果libmysqlclient18来自percona,libmysqlclient-dev的安装将失败
仍未解决:
状态:不支持
环境:Ubuntu 14.04 LTS;内核3.13,MySql 5.6
ATT
答案 2 :(得分:0)
您是否尝试过升级libmysqlclient18
数据包? (之前执行apt-get update
,以防万一......)