Hi,
Iam trying to install zabbix on a CentOS 4.x box, with MySQL 5.0.x and PHP 4.3.x. I get the following error:
So, it would appear that mysql_config does exist - but zabbix does not like it.
Any ideas?
Many thanks.
Iam trying to install zabbix on a CentOS 4.x box, with MySQL 5.0.x and PHP 4.3.x. I get the following error:
Code:
[root@server1 zabbix]# ./configure --enable-server --with-mysql=/usr/lib/mysql/ --with-net-snmp --with-jabber --with-libcurl
...lots of output...
checking for mysql_config... /usr/lib/mysql/
configure: error: Not found MySQL library
[root@server1 zabbix]# locate mysql_config
/opt/mysql/enterprise/monitor/mysql/bin/mysql_config
/usr/lib/mysql3/mysql/mysql_config
/usr/lib/mysql/mysql_config
/usr/share/man/man1/mysql_config.1.gz
/usr/bin/mysql_config
[root@server1 zabbix]# /usr/lib/mysql/mysql_config
Usage: /usr/lib/mysql/mysql_config [OPTIONS]
Options:
--cflags [-I/usr/include/mysql -g -pipe -m32 -march=i386 -mtune=pentium4 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv]
--include [-I/usr/include/mysql]
--libs [-L/usr/lib/mysql -lmysqlclient -lz -lcrypt -lnsl -lm -L/usr/lib -lssl -lcrypto]
--libs_r [-L/usr/lib/mysql -lmysqlclient_r -lz -lpthread -lcrypt -lnsl -lm -lpthread -L/usr/lib -lssl -lcrypto]
--socket [/var/lib/mysql/mysql.sock]
--port [3306]
--version [5.0.27]
--libmysqld-libs [-L/usr/lib/mysql -lmysqld -lz -lpthread -lcrypt -lnsl -lm -lpthread -lrt -L/usr/lib -lssl -lcrypto]
Any ideas?
Many thanks.
Comment