I'm compiling zabbix 1.8.2 with libssh2, version 1.2.4, and I'm getting the following error message:
poller/libzbxpoller.a(checks_ssh.o): In function `waitsocket':
/tmp/zabbix-1.8.2/src/zabbix_server/poller/checks_ssh.c:62: undefined reference to `libssh2_session_block_directions'
collect2: ld returned 1 exit status
make[3]: *** [zabbix_server] Error 1
make[3]: Leaving directory `/tmp/zabbix-1.8.2/src/zabbix_server'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/tmp/zabbix-1.8.2/src/zabbix_server'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/tmp/zabbix-1.8.2/src'
make: *** [install-recursive] Error 1
libssh2 is installed in /usr/local/libssh2 and I'm using the following zabbix compile options: ./configure --prefix=/data/zabbix-1.8.2 --enable-server --with-mysql --with-net-snmp --with-libcurl --with-openipmi --with-jabber --with-ssh2=/usr/local/libssh2
Any ideas what might be the issue? Thanks
poller/libzbxpoller.a(checks_ssh.o): In function `waitsocket':
/tmp/zabbix-1.8.2/src/zabbix_server/poller/checks_ssh.c:62: undefined reference to `libssh2_session_block_directions'
collect2: ld returned 1 exit status
make[3]: *** [zabbix_server] Error 1
make[3]: Leaving directory `/tmp/zabbix-1.8.2/src/zabbix_server'
make[2]: *** [install-recursive] Error 1
make[2]: Leaving directory `/tmp/zabbix-1.8.2/src/zabbix_server'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/tmp/zabbix-1.8.2/src'
make: *** [install-recursive] Error 1
libssh2 is installed in /usr/local/libssh2 and I'm using the following zabbix compile options: ./configure --prefix=/data/zabbix-1.8.2 --enable-server --with-mysql --with-net-snmp --with-libcurl --with-openipmi --with-jabber --with-ssh2=/usr/local/libssh2
Any ideas what might be the issue? Thanks
Comment