編譯安裝zabbix error: MySQL library not found

本人用編譯方式安裝的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

正常通過。


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章