zabbix编译不过,找不到mysql库求助
本帖最后由 q3029609 于 2015-12-01 16:21 编辑mysql5.6源码安装zabbix-2.4.7 php5.6.16执行如下编译时
./configure --prefix=/usr/local/zabbix-2.4.7/ --enable-server --enable-agent --with-mysql --with-net-snmp --with-libcurl --with-libxml2
报错
configure: error: MySQL library not found
# whereis mysql
mysql: /usr/lib64/mysql /usr/local/mysql /usr/share/mysql
# ./mysql_config --libs
-L/usr/local/mysql/lib -lmysqlclient -lpthread -lm -lrt -ldl
求大神相助 没有人回复吗 系统是centos6.6的 已解决 需指定mysql_config文件即可
页:
[1]