Ad Widget

Collapse

can't static compile zabbix 1.3.2(beta) on fc6_64

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • clubbing80s
    Senior Member
    • Sep 2005
    • 109

    #1

    can't static compile zabbix 1.3.2(beta) on fc6_64

    Hi
    I'm trying to compile zabbix staticly on fedora core 6 64 bit ..

    ./configure --enable-agent --enable-server --with-mysql --enable-static

    and i get the following errors

    (.text+0x276): undefined reference to `SSL_CTX_set_default_verify_paths'
    /usr/lib/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLFd':
    (.text+0x291): undefined reference to `DH_free'
    /usr/lib/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLAcceptorFd':
    (.text+0x30d): undefined reference to `TLSv1_server_method'
    /usr/lib/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLAcceptorFd':
    (.text+0x340): undefined reference to `SSL_CTX_ctrl'
    /usr/lib/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLAcceptorFd':
    (.text+0x352): undefined reference to `SSL_CTX_set_verify'
    /usr/lib/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLAcceptorFd':
    (.text+0x362): undefined reference to `SSL_CTX_set_session_id_context'
    /usr/lib/libmysqlclient.a(viosslfactories.o): In function `vio_verify_callback':
    (.text+0x3c2): undefined reference to `X509_STORE_CTX_get_current_cert'
    /usr/lib/libmysqlclient.a(viosslfactories.o): In function `vio_verify_callback':
    (.text+0x3ca): undefined reference to `X509_get_subject_name'
    /usr/lib/libmysqlclient.a(viosslfactories.o): In function `vio_verify_callback':
    (.text+0x3da): undefined reference to `X509_NAME_oneline'
    /usr/lib/libmysqlclient.a(viosslfactories.o): In function `vio_verify_callback':
    (.text+0x424): undefined reference to `X509_STORE_CTX_get_error'
    /usr/lib/libmysqlclient.a(viosslfactories.o): In function `vio_verify_callback':
    (.text+0x42c): undefined reference to `X509_STORE_CTX_get_error_depth'
    /usr/lib/libmysqlclient.a(viosslfactories.o): In function `vio_verify_callback':
    (.text+0x44b): undefined reference to `X509_get_issuer_name'
    /usr/lib/libmysqlclient.a(viosslfactories.o): In function `vio_verify_callback':
    (.text+0x45b): undefined reference to `X509_NAME_oneline'
    /usr/lib/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLConnectorFd':
    (.text+0x49d): undefined reference to `TLSv1_client_method'
    /usr/lib/libmysqlclient.a(viosslfactories.o): In function `new_VioSSLConnectorFd':
    (.text+0x4ce): undefined reference to `SSL_CTX_set_verify'
    collect2: ld returned 1 exit status
    make[3]: *** [zabbix_server] Error 1
    make[3]: Leaving directory `/home/greg/zabbix-1.3.2/src/zabbix_server'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/home/greg/zabbix-1.3.2/src/zabbix_server'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/home/greg/zabbix-1.3.2/src'
    make: *** [all-recursive] Error 1

    any ideas how to fix this ?

    But it compile fine without the --enable-static

    Many Thanks
  • tronite
    Senior Member
    • Jun 2007
    • 147

    #2
    Originally posted by clubbing80s
    Hi
    I'm trying to compile zabbix staticly on fedora core 6 64 bit ..

    ./configure --enable-agent --enable-server --with-mysql --enable-static
    ...
    But it compile fine without the --enable-static

    Many Thanks
    Try compiling all this with the new release 1.4

    Comment

    Working...