Доброго времени суток, пытаюсь собрать zabbix_proxy 2.2.4 вот с такими опциями:
./configure --prefix=/opt/zabbix_proxy --enable-proxy --with-net-snmp --with-ssh2 --with-curl --with-mysql --enable-static
получаю ошибку:
checking for SSH2 support... no
configure: error: SSH2 library not found
в config.log
сonfigure:9844: checking for SSH2 support
configure:9942: gcc -o conftest -g -O2 -I/usr/include/mysql -DBIG_JOINS=1 -fno-strict-aliasing -g -I/usr/local/include -I/usr/lib/perl/5.14/CORE -I. -I/usr/include -I/usr/include -rdynamic -static -L/usr/lib conftest.c -lm -ldl -lrt -lresolv -lssh2 >&5
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libssh2.a(transport.o): In function `_libssh2_transport_send':
(.text+0x9e8): undefined reference to `gcry_randomize'
и много подобного
collect2: error: ld returned 1 exit status
configure:9942: $? = 1
configure:9960: result: no
configure:9975: error: SSH2 library not found
вот что показывает ldconfig:
ldconfig -p | grep libssh
libssh2.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libssh2.so.1
libssh2.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libssh2.so
libssh_threads.so.4 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libssh_threads.so.4
libssh_threads.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libssh_threads.so
libssh.so.4 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libssh.so.4
libssh.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libssh.so
uname -a
Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux
подскажите пожалуйста, как можно собрать zabbix_proxy с моими опциями
./configure --prefix=/opt/zabbix_proxy --enable-proxy --with-net-snmp --with-ssh2 --with-curl --with-mysql --enable-static
получаю ошибку:
checking for SSH2 support... no
configure: error: SSH2 library not found
в config.log
сonfigure:9844: checking for SSH2 support
configure:9942: gcc -o conftest -g -O2 -I/usr/include/mysql -DBIG_JOINS=1 -fno-strict-aliasing -g -I/usr/local/include -I/usr/lib/perl/5.14/CORE -I. -I/usr/include -I/usr/include -rdynamic -static -L/usr/lib conftest.c -lm -ldl -lrt -lresolv -lssh2 >&5
/usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libssh2.a(transport.o): In function `_libssh2_transport_send':
(.text+0x9e8): undefined reference to `gcry_randomize'
и много подобного
collect2: error: ld returned 1 exit status
configure:9942: $? = 1
configure:9960: result: no
configure:9975: error: SSH2 library not found
вот что показывает ldconfig:
ldconfig -p | grep libssh
libssh2.so.1 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libssh2.so.1
libssh2.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libssh2.so
libssh_threads.so.4 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libssh_threads.so.4
libssh_threads.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libssh_threads.so
libssh.so.4 (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libssh.so.4
libssh.so (libc6,x86-64) => /usr/lib/x86_64-linux-gnu/libssh.so
uname -a
Linux 3.2.0-4-amd64 #1 SMP Debian 3.2.51-1 x86_64 GNU/Linux
подскажите пожалуйста, как можно собрать zabbix_proxy с моими опциями
Comment