Seems I am doing something stupid while installing this great tool.
Error is pasted below :
postgres@zabbix-test1:~/zabbix-1.0> make
Making all in src/zabbix_agent
make[1]: Entering directory `/var/lib/pgsql/zabbix-1.0/src/zabbix_agent'
gcc -o ../../bin/zabbix_agent -static -g -O2 -I../../include zabbix_agent.c sysinfo.c ../../include/log.c ../../include/cfg.c ../../include/security.c ../../include/snprintf.c -Wall
/tmp/cc9f6YHD.o(.text+0xc4): In function `check_ssh':
/var/lib/pgsql/zabbix-1.0/src/zabbix_agent/sysinfo.c:2383: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
gcc -o ../../bin/zabbix_agentd -static -g -O2 -I../../include zabbix_agentd.c sysinfo.c stats.c interfaces.c diskdevices.c ../../include/log.c ../../include/cfg.c ../../include/security.c ../../include/pid.c ../../include/snprintf.c -Wall
/tmp/cc2tuYJZ.o(.text+0x444): In function `daemon_init':
/var/lib/pgsql/zabbix-1.0/src/zabbix_agent/zabbix_agentd.c:140: warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/ccLu9gfA.o(.text+0xc4): In function `check_ssh':
/var/lib/pgsql/zabbix-1.0/src/zabbix_agent/sysinfo.c:2383: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
make[1]: Leaving directory `/var/lib/pgsql/zabbix-1.0/src/zabbix_agent'
Making all in src/zabbix_sender
make[1]: Entering directory `/var/lib/pgsql/zabbix-1.0/src/zabbix_sender'
gcc -o ../../bin/zabbix_sender -static -g -O2 -I../../include ../../include/snprintf.c zabbix_sender.c
/tmp/cc44x4E8.o(.text+0x1d): In function `send_value':
/var/lib/pgsql/zabbix-1.0/src/zabbix_sender/zabbix_sender.c:70: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
make[1]: Leaving directory `/var/lib/pgsql/zabbix-1.0/src/zabbix_sender'
Making all in src/zabbix_sucker
make[1]: Entering directory `/var/lib/pgsql/zabbix-1.0/src/zabbix_sucker'
gcc -o ../../bin/zabbix_suckerd -static -g -O2 -I../../include -I/usr/include/pgsql -I/usr/include zabbix_sucker.c ../../include/db.c ../../include/functions.c ../../include/expression.c ../../include/cfg.c ../../include/log.c ../../include/security.c ../../include/pid.c ../../include/snprintf.c ../zabbix_agent/sysinfo.c alerter.c pinger.c housekeeper.c -Wall -lcrypt -L/usr/lib -lpq -L/usr/lib -lnetsnmp -lcrypto
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: cannot find -lnetsnmp
collect2: ld returned 1 exit status
make[1]: *** [all] Error 1
make[1]: Leaving directory `/var/lib/pgsql/zabbix-1.0/src/zabbix_sucker'
make: *** [all] Error 1
Please let me know, if anybody has any clue....???
Thanks, Rajeev
Error is pasted below :
postgres@zabbix-test1:~/zabbix-1.0> make
Making all in src/zabbix_agent
make[1]: Entering directory `/var/lib/pgsql/zabbix-1.0/src/zabbix_agent'
gcc -o ../../bin/zabbix_agent -static -g -O2 -I../../include zabbix_agent.c sysinfo.c ../../include/log.c ../../include/cfg.c ../../include/security.c ../../include/snprintf.c -Wall
/tmp/cc9f6YHD.o(.text+0xc4): In function `check_ssh':
/var/lib/pgsql/zabbix-1.0/src/zabbix_agent/sysinfo.c:2383: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
gcc -o ../../bin/zabbix_agentd -static -g -O2 -I../../include zabbix_agentd.c sysinfo.c stats.c interfaces.c diskdevices.c ../../include/log.c ../../include/cfg.c ../../include/security.c ../../include/pid.c ../../include/snprintf.c -Wall
/tmp/cc2tuYJZ.o(.text+0x444): In function `daemon_init':
/var/lib/pgsql/zabbix-1.0/src/zabbix_agent/zabbix_agentd.c:140: warning: Using 'getpwnam' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
/tmp/ccLu9gfA.o(.text+0xc4): In function `check_ssh':
/var/lib/pgsql/zabbix-1.0/src/zabbix_agent/sysinfo.c:2383: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
make[1]: Leaving directory `/var/lib/pgsql/zabbix-1.0/src/zabbix_agent'
Making all in src/zabbix_sender
make[1]: Entering directory `/var/lib/pgsql/zabbix-1.0/src/zabbix_sender'
gcc -o ../../bin/zabbix_sender -static -g -O2 -I../../include ../../include/snprintf.c zabbix_sender.c
/tmp/cc44x4E8.o(.text+0x1d): In function `send_value':
/var/lib/pgsql/zabbix-1.0/src/zabbix_sender/zabbix_sender.c:70: warning: Using 'gethostbyname' in statically linked applications requires at runtime the shared libraries from the glibc version used for linking
make[1]: Leaving directory `/var/lib/pgsql/zabbix-1.0/src/zabbix_sender'
Making all in src/zabbix_sucker
make[1]: Entering directory `/var/lib/pgsql/zabbix-1.0/src/zabbix_sucker'
gcc -o ../../bin/zabbix_suckerd -static -g -O2 -I../../include -I/usr/include/pgsql -I/usr/include zabbix_sucker.c ../../include/db.c ../../include/functions.c ../../include/expression.c ../../include/cfg.c ../../include/log.c ../../include/security.c ../../include/pid.c ../../include/snprintf.c ../zabbix_agent/sysinfo.c alerter.c pinger.c housekeeper.c -Wall -lcrypt -L/usr/lib -lpq -L/usr/lib -lnetsnmp -lcrypto
/usr/lib/gcc-lib/i586-suse-linux/3.3.3/../../../../i586-suse-linux/bin/ld: cannot find -lnetsnmp
collect2: ld returned 1 exit status
make[1]: *** [all] Error 1
make[1]: Leaving directory `/var/lib/pgsql/zabbix-1.0/src/zabbix_sucker'
make: *** [all] Error 1
Please let me know, if anybody has any clue....???
Thanks, Rajeev
Comment