I've some problems when trying to compile Zabbix 1.1.5 on CentOS 4.4 with the following options:
I obtain the following error when I run the "make" command:
I've searched in the forum about this error and I've found this thread (http://www.zabbix.com/forum/archive/...hp/t-3505.html) and I've tried to add "-lssl" to src/zabbix_server/Makefile but I've obtained another error:
And I couldn't find anything useful about the last error so I hope that someone here could help me. :-)
The first error happen only when I try to compile the server, the agent statically compile fine.
TIA
Code:
./configure --prefix=/opt/zabbix --enable-agent --enable-server --enable-static --with-mysql --with-net-snmp
Code:
/usr/lib/mysql/libmysqlclient.a(viosslfactories.o)(.text+0x535): In function `new_VioSSLAcceptorFd': : undefined reference to `SSL_load_error_strings' /usr/lib/mysql/libmysqlclient.a(viosslfactories.o)(.text+0x546): In function `new_VioSSLAcceptorFd': : undefined reference to `SSL_library_init' collect2: ld returned 1 exit status make[3]: *** [zabbix_server] Error 1 make[3]: Leaving directory `/usr/src/zabbix-1.1.5/src/zabbix_server' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/zabbix-1.1.5/src/zabbix_server' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/zabbix-1.1.5/src' make: *** [all-recursive] Error 1
Code:
/usr/lib/libssl.a(s3_pkt.o)(.text+0x581): In function `do_ssl3_write': : undefined reference to `COMP_compress_block' /usr/lib/libssl.a(s3_pkt.o)(.text+0xc75): In function `ssl3_read_bytes': : undefined reference to `COMP_expand_block' collect2: ld returned 1 exit status make[3]: *** [zabbix_server] Error 1 make[3]: Leaving directory `/usr/src/zabbix-1.1.5/src/zabbix_server' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/zabbix-1.1.5/src/zabbix_server' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/zabbix-1.1.5/src' make: *** [all-recursive] Error 1
The first error happen only when I try to compile the server, the agent statically compile fine.
TIA