Ad Widget

Collapse

Make problem on Zabbix 1.0

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • vkimball
    Junior Member
    • Feb 2005
    • 4

    #1

    Make problem on Zabbix 1.0

    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!
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Probably openssl-dev (or libssl) is missing, so ZABBIX cannot resolve these symbols.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • vkimball
      Junior Member
      • Feb 2005
      • 4

      #3
      I've checked and openssl-devel 0.9.7 is installed. Anything else that I can check?

      Comment

      • vkimball
        Junior Member
        • Feb 2005
        • 4

        #4
        It's been suggested to me that there might be a mis-match between the mysqlclient libraries and the compile flags for Zabbix. Will try to look into that further.

        Comment

        Working...