时间:2021-07-01 10:21:17 帮助过:26人阅读
本人用编译方式安装的MySQL ,用编译安装zabbix
报checking for mysql_config... configure: error: MySQL library not found
用--with-mysql=/usr/local/mysql/也不行
由“mysql_config... /usr/local/mysql/”得到启发
查找mysql_config
#find / -name "mysql_config*"
/usr/local/mysql/bin/mysql_config
我把--with-mysql改成
--with-mysql=/usr/local/mysql/bin/mysql_config
正常通过。
本文出自 “火星男-神自不凡” 博客,请务必保留此出处http://marsman.blog.51cto.com/6410055/1917580
编译安装zabbix error: MySQL library not found
标签:library local error mysql