I have kernel 2.6.8, MySQL 4.0.21, and Open SSL 0.9.7 installed.
Trying to make Zabbix 1.0, I get the following errors in zabbix_sucker:
In file included from zabbix_sucker.c:46:
/usr/include/net-snmp/net-snmp-config.h:883:1: warning: this is the location of the previous definition
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x99): In function `vio_ssl_read':
: undefined reference to `SSL_read'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0xe2): In function `vio_ssl_read':
: undefined reference to `SSL_get_error'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x189): In function `vio_ssl_write':
: undefined reference to `SSL_write'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x470): In function `vio_ssl_close':
: undefined reference to `SSL_shutdown'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x489): In function `vio_ssl_close':
: undefined reference to `SSL_free'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x611): In function `sslaccept':
: undefined reference to `SSL_new'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x6b5): In function `sslaccept':
: undefined reference to `SSL_clear'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x6ca): In function `sslaccept':
: undefined reference to `SSL_get_session'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x6dd): In function `sslaccept':
: undefined reference to `SSL_SESSION_set_timeout'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x6f8): In function `sslaccept':
: undefined reference to `SSL_set_fd'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x70d): In function `sslaccept':
: undefined reference to `SSL_set_accept_state'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x722): In function `sslaccept':
: undefined reference to `SSL_do_handshake'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x73f): In function `sslaccept':
: undefined reference to `SSL_get_peer_certificate'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x7be): In function `sslaccept':
: undefined reference to `SSL_get_shared_ciphers'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x80b): In function `sslaccept':
: undefined reference to `SSL_free'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x8c1): In function `sslconnect':
: undefined reference to `SSL_new'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x967): In function `sslconnect':
: undefined reference to `SSL_clear'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x97c): In function `sslconnect':
: undefined reference to `SSL_get_session'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x98f): In function `sslconnect':
: undefined reference to `SSL_SESSION_set_timeout'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x9aa): In function `sslconnect':
: undefined reference to `SSL_set_fd'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x9bf): In function `sslconnect':
: undefined reference to `SSL_set_connect_state'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x9d4): In function `sslconnect':
: undefined reference to `SSL_do_handshake'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0xa1d): In function `sslconnect':
: undefined reference to `SSL_free'
I've checked and zlib-devel is installed and -lz is in the makefile. Any ideas on what I could be missing? Thanks in advance!
Trying to make Zabbix 1.0, I get the following errors in zabbix_sucker:
In file included from zabbix_sucker.c:46:
/usr/include/net-snmp/net-snmp-config.h:883:1: warning: this is the location of the previous definition
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x99): In function `vio_ssl_read':
: undefined reference to `SSL_read'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0xe2): In function `vio_ssl_read':
: undefined reference to `SSL_get_error'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x189): In function `vio_ssl_write':
: undefined reference to `SSL_write'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x470): In function `vio_ssl_close':
: undefined reference to `SSL_shutdown'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x489): In function `vio_ssl_close':
: undefined reference to `SSL_free'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x611): In function `sslaccept':
: undefined reference to `SSL_new'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x6b5): In function `sslaccept':
: undefined reference to `SSL_clear'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x6ca): In function `sslaccept':
: undefined reference to `SSL_get_session'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x6dd): In function `sslaccept':
: undefined reference to `SSL_SESSION_set_timeout'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x6f8): In function `sslaccept':
: undefined reference to `SSL_set_fd'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x70d): In function `sslaccept':
: undefined reference to `SSL_set_accept_state'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x722): In function `sslaccept':
: undefined reference to `SSL_do_handshake'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x73f): In function `sslaccept':
: undefined reference to `SSL_get_peer_certificate'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x7be): In function `sslaccept':
: undefined reference to `SSL_get_shared_ciphers'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x80b): In function `sslaccept':
: undefined reference to `SSL_free'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x8c1): In function `sslconnect':
: undefined reference to `SSL_new'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x967): In function `sslconnect':
: undefined reference to `SSL_clear'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x97c): In function `sslconnect':
: undefined reference to `SSL_get_session'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x98f): In function `sslconnect':
: undefined reference to `SSL_SESSION_set_timeout'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x9aa): In function `sslconnect':
: undefined reference to `SSL_set_fd'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x9bf): In function `sslconnect':
: undefined reference to `SSL_set_connect_state'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0x9d4): In function `sslconnect':
: undefined reference to `SSL_do_handshake'
/usr/lib/mysql/libmysqlclient.a(viossl.o)(.text+0xa1d): In function `sslconnect':
: undefined reference to `SSL_free'
I've checked and zlib-devel is installed and -lz is in the makefile. Any ideas on what I could be missing? Thanks in advance!
Comment