PDA

View Full Version : Problem with mysqlclient during installation..


hcosta
03-08-2007, 22:53
Hey guys,

I´m trying to install Zabbix 1.4.1 and I got the error:

checking for mysql_config... /usr/bin/mysql_config
checking for main in -lmysqlclient ... no
configure: error: Not found mysqlclient library

I checked the config.log and has this:

configure:8373: checking for mysql_config
configure:8391: found /usr/bin/mysql_config
configure:8404: result: /usr/bin/mysql_config
configure:8535: checking for main in -lmysqlclient
configure:8564: gcc -o conftest -g -O2 -I'/usr/include/mysql'
client_libs: '-lz -lcrypt -lnsl -lm ' -L'/usr/lib/mysql' conftest.c -lmysqlclient -lm -lresolv -lnsl >&5
gcc: client_libs:: No such file or directory
gcc: '-lz: No such file or directory
gcc: ': No such file or directory
configure:8570: $? = 1
configure: failed program was:

Details of my server:
O.S.: Red Hat Enterprise Linux 3
Mysql version: 3.23.58

Anyone have any idea?

swaterhouse
06-08-2007, 14:25
Do you have the client tools installed? There server and client are seperate installs.