Hi
I have just downloaded version 1.1.1 and am trying to build on a machine running Redhat Enterprise Linux ES Version 4 (Nahant).
I have used the following configure command:
The configure completes OK.
However, during the make install, I get the following error:
For info, I have the following RPMS installed:
And the following files exist in /usr/lib/mysql:
Any suggestions ?
Many thanks !
Lee
I have just downloaded version 1.1.1 and am trying to build on a machine running Redhat Enterprise Linux ES Version 4 (Nahant).
I have used the following configure command:
Code:
./configure --prefix=/usr/local/zabbix-1.1.1 --enable-server --with-mysql --with-net-snmp --enable-agent
However, during the make install, I get the following error:
Code:
make[3]: Entering directory `/usr/local/zabbix-1.1.1/src/zabbix_server' gcc -g -O2 -L/usr/lib/mysql -o zabbix_server -L/usr/lib/mysql -L/usr/lib evalfunc.o expression.o actions.o zlog.o functions.o server.o ../libs/zbxsysinfo/libzbxsysinfo.a ../libs/zbxsysinfo/linux/libzbxsysinfo2.a ../libs/zbxlog/libzbxlog.a ../libs/zbxpid/libzbxpid.a ../libs/zbxconf/libzbxconf.a ../libs/zbxcrypto/libzbxcrypto.a ../libs/zbxnet/libzbxnet.a pinger/libzbxpinger.a poller/libzbxpoller.a housekeeper/libzbxhousekeeper.a alerter/libzbxalerter.a timer/libzbxtimer.a trapper/libzbxtrapper.a ../libs/zbxemail/libzbxemail.a ../libs/zbxsms/libzbxsms.a ../libs/zbxdbhigh/libzbxdbhigh.a ../libs/zbxcommon/libzbxcommon.a -lmysqlclient -lm -lz -lnetsnmp -lcrypto -lresolv -lnsl /usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient.so when searching for -lmysqlclient /usr/bin/ld: skipping incompatible /usr/lib/mysql/libmysqlclient.so when searching for -lmysqlclient /usr/bin/ld: skipping incompatible /usr/lib/libmysqlclient.so when searching for -lmysqlclient /usr/bin/ld: skipping incompatible /usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../libmysqlclient.so when searching for -lmysqlclient /usr/bin/ld: skipping incompatible /usr/lib/libmysqlclient.so when searching for -lmysqlclient [B]/usr/bin/ld: cannot find -lmysqlclient[/B] collect2: ld returned 1 exit status make[3]: *** [zabbix_server] Error 1 make[3]: Leaving directory `/usr/local/zabbix-1.1.1/src/zabbix_server' make[2]: *** [install-recursive] Error 1 make[2]: Leaving directory `/usr/local/zabbix-1.1.1/src/zabbix_server' make[1]: *** [install-recursive] Error 1 make[1]: Leaving directory `/usr/local/zabbix-1.1.1/src' make: *** [install-recursive] Error 1
Code:
[root@dylan mysql]# rpm -qa | grep -i mysql mysqlclient10-3.23.58-4.RHEL4.1 php-mysql-4.3.9-3.1 mysql-devel-4.1.7-4.RHEL4.1 MySQL-python-1.0.0-1.RHEL4.1 mysqlclient10-devel-3.23.58-4.RHEL4.1 qt-MySQL-3.3.3-9.3 mysqlclient10-3.23.58-4.RHEL4.1 libdbi-dbd-mysql-0.6.5-10.RHEL4.1 freeradius-mysql-1.0.1-2.RHEL4 mysql-server-4.1.7-4.RHEL4.1 mysql-4.1.7-4.RHEL4.1 mysql-bench-4.1.7-4.RHEL4.1 perl-DBD-MySQL-2.9004-3.1 mysql-4.1.7-4.RHEL4.1 mod_auth_mysql-2.6.1-2.1
Code:
[root@dylan mysql]# pwd /usr/lib/mysql [root@dylan mysql]# ls -al total 2608 drwxr-xr-x 2 root root 4096 Sep 12 09:45 . drwxr-xr-x 82 root root 61440 Sep 12 09:45 .. lrwxrwxrwx 1 root root 26 Dec 20 2005 libmysqlclient_r.so.10 -> libmysqlclient_r.so.10.0.0 -rwxr-xr-x 1 root root 211004 Nov 24 2004 libmysqlclient_r.so.10.0.0 lrwxrwxrwx 1 root root 26 Dec 20 2005 libmysqlclient_r.so.14 -> libmysqlclient_r.so.14.0.0 -rwxr-xr-x 1 root root 1048388 Nov 24 2004 libmysqlclient_r.so.14.0.0 lrwxrwxrwx 1 root root 24 Dec 20 2005 libmysqlclient.so.10 -> libmysqlclient.so.10.0.0 -rwxr-xr-x 1 root root 207520 Nov 24 2004 libmysqlclient.so.10.0.0 lrwxrwxrwx 1 root root 24 Dec 20 2005 libmysqlclient.so.14 -> libmysqlclient.so.14.0.0 -rwxr-xr-x 1 root root 1044224 Nov 24 2004 libmysqlclient.so.14.0.0 -rwxr-xr-x 1 root root 10902 Nov 24 2004 mysqlbug -rwxr-xr-x 1 root root 4259 Nov 24 2004 mysql_config
Many thanks !
Lee
Comment