Whle trying to compile Zabbix 1.6.2 on Fedora 7 with MySQL, I encountered a following error during ./configure:
I had to manually install necessary libraries
Then add some options to compilation process:
Another error shows:
So you have to install the net-snmp-devel package
Then compile again using the same command as above. It should run fine.
Code:
checking for main in -lmysqlclient ... no configure: error: Not found mysqlclient library
Code:
yum install mysqlclient14-devel
Code:
LDFLAGS=-L/usr/lib/mysql4/mysql/ CPPFLAGS=-I/usr/include/mysql4/mysql ./configure --enable-server --with-net-snmp --with-libcurl --with-mysql --enable-server --enable-agent
Code:
checking for net-snmp-config... no configure: error: Invalid NET-SNMP directory - unable to find net-snmp-config
yum install net-snmp-devel