Ad Widget

Collapse

Zabbix_Server make error

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Ofntech
    Junior Member
    • Mar 2005
    • 4

    #1

    Zabbix_Server make error

    I have rebuilt my Linux box and it is now SUSE 9.3. I am still unable to get the zabbix_server to compile I was able to get everything else working but it will not complete the make process and create the zabbix_server.

    Any help would be great, I am kinda a linux newb and would really like to get zabbix working

    Zabbix Version Alpha7
    MySQL Version 4.1

    Here is the output of make

    Making all in src/zabbix_agent
    make[1]: Entering directory `/usr/local/bin/zabbix/src/zabbix_agent'
    gcc -o ../../bin/zabbix_agent -g -O2 -I../../include zabbix_agent.c sysinfo.c ../../include/log.c ../../include/cfg.c ../../include/security.c ../../include/snprintf.c ../../include/md5.c -Wall -lnsl
    ../../include/snprintf.c:169: warning: `dopr' defined but not used
    gcc -o ../../bin/zabbix_agentd -g -O2 -I../../include zabbix_agentd.c sysinfo.c stats.c interfaces.c diskdevices.c cpustat.c ../../include/log.c ../../include/cfg.c ../../include/security.c ../../include/pid.c ../../include/snprintf.c ../../include/md5.c -Wall -lnsl
    ../../include/snprintf.c:169: warning: `dopr' defined but not used
    make[1]: Leaving directory `/usr/local/bin/zabbix/src/zabbix_agent'
    Making all in src/zabbix_sender
    make[1]: Entering directory `/usr/local/bin/zabbix/src/zabbix_sender'
    gcc -o ../../bin/zabbix_sender -g -O2 -I../../include ../../include/snprintf.c zabbix_sender.c -lnsl
    make[1]: Leaving directory `/usr/local/bin/zabbix/src/zabbix_sender'
    Making all in src/zabbix_server
    make[1]: Entering directory `/usr/local/bin/zabbix/src/zabbix_server'
    gcc -o ../../bin/zabbix_server -g -O2 -I../../include -I/usr/include/mysql -I/usr/include server.c ../../include/db.c ../../include/functions.c ../../include/expression.c ../../include/cfg.c ../../include/log.c ../../include/security.c ../../include/pid.c ../../include/email.c ../../include/snprintf.c ../zabbix_agent/sysinfo.c ../../include/md5.c ../../include/zlog.c alerter.c pinger.c housekeeper.c checks_simple.c checks_snmp.c checks_agent.c checks_internal.c -Wall -lnsl -L/usr/lib/mysql -lmysqlclient -lm -lz -L/usr/lib -lnetsnmp
    ../../include/snprintf.c:169: warning: `dopr' defined but not used
    /usr/lib/libnetsnmp.a(keytools.o)(.text+0xbe): In function `generate_Ku':
    : undefined reference to `EVP_md5'
    /usr/lib/libnetsnmp.a(keytools.o)(.text+0xcd): In function `generate_Ku':
    : undefined reference to `EVP_DigestInit'
    /usr/lib/libnetsnmp.a(keytools.o)(.text+0x10e): In function `generate_Ku':
    : undefined reference to `EVP_DigestUpdate'
    /usr/lib/libnetsnmp.a(keytools.o)(.text+0x132): In function `generate_Ku':
    : undefined reference to `EVP_DigestFinal'
    /usr/lib/libnetsnmp.a(keytools.o)(.text+0x163): In function `generate_Ku':
    : undefined reference to `EVP_sha1'
    /usr/lib/libnetsnmp.a(scapi.o)(.text+0x19f): In function `sc_random':
    : undefined reference to `RAND_bytes'
    /usr/lib/libnetsnmp.a(scapi.o)(.text+0x30b): In function `sc_generate_keyed_hash':
    : undefined reference to `EVP_md5'
    /usr/lib/libnetsnmp.a(scapi.o)(.text+0x340): In function `sc_generate_keyed_hash':
    : undefined reference to `HMAC'
    /usr/lib/libnetsnmp.a(scapi.o)(.text+0x39b): In function `sc_generate_keyed_hash':
    : undefined reference to `EVP_sha1'
    /usr/lib/libnetsnmp.a(scapi.o)(.text+0x4cc): In function `sc_hash':
    : undefined reference to `EVP_md5'
    /usr/lib/libnetsnmp.a(scapi.o)(.text+0x4f2): In function `sc_hash':
    : undefined reference to `SSLeay'
    /usr/lib/libnetsnmp.a(scapi.o)(.text+0x513): In function `sc_hash':
    : undefined reference to `EVP_DigestInit'
    /usr/lib/libnetsnmp.a(scapi.o)(.text+0x529): In function `sc_hash':
    : undefined reference to `EVP_DigestUpdate'
    /usr/lib/libnetsnmp.a(scapi.o)(.text+0x52e): In function `sc_hash':
    : undefined reference to `SSLeay'
    /usr/lib/libnetsnmp.a(scapi.o)(.text+0x548): In function `sc_hash':
    : undefined reference to `EVP_DigestFinal'
    /usr/lib/libnetsnmp.a(scapi.o)(.text+0x56a): In function `sc_hash':
    : undefined reference to `EVP_DigestFinal_ex'
    /usr/lib/libnetsnmp.a(scapi.o)(.text+0x572): In function `sc_hash':
    : undefined reference to `EVP_MD_CTX_cleanup'
    /usr/lib/libnetsnmp.a(scapi.o)(.text+0x57c): In function `sc_hash':
    : undefined reference to `EVP_MD_CTX_init'
    /usr/lib/libnetsnmp.a(scapi.o)(.text+0x5b3): In function `sc_hash':
    : undefined reference to `EVP_sha1'
    /usr/lib/libnetsnmp.a(scapi.o)(.text+0xab9): In function `sc_encrypt':
    : undefined reference to `DES_key_sched'
    /usr/lib/libnetsnmp.a(scapi.o)(.text+0xb0e): In function `sc_encrypt':
    : undefined reference to `DES_ncbc_encrypt'
    /usr/lib/libnetsnmp.a(scapi.o)(.text+0xb60): In function `sc_encrypt':
    : undefined reference to `DES_ncbc_encrypt'
    /usr/lib/libnetsnmp.a(scapi.o)(.text+0xbc0): In function `sc_encrypt':
    : undefined reference to `AES_set_encrypt_key'
    /usr/lib/libnetsnmp.a(scapi.o)(.text+0xc16): In function `sc_encrypt':
    : undefined reference to `AES_cfb128_encrypt'
    /usr/lib/libnetsnmp.a(scapi.o)(.text+0xebf): In function `sc_decrypt':
    : undefined reference to `AES_set_encrypt_key'
    /usr/lib/libnetsnmp.a(scapi.o)(.text+0xf12): In function `sc_decrypt':
    : undefined reference to `AES_cfb128_encrypt'
    /usr/lib/libnetsnmp.a(scapi.o)(.text+0xf4b): In function `sc_decrypt':
    : undefined reference to `DES_key_sched'
    /usr/lib/libnetsnmp.a(scapi.o)(.text+0xf8e): In function `sc_decrypt':
    : undefined reference to `DES_cbc_encrypt'
    collect2: ld returned 1 exit status
    make[1]: *** [all] Error 1
    make[1]: Leaving directory `/usr/local/bin/zabbix/src/zabbix_server'
    make: *** [all] Error 1
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    It seems you're missing package openssl-dev.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • Ofntech
      Junior Member
      • Mar 2005
      • 4

      #3
      Thank you Alexei you were right on the money. The server is up and running.

      Thanks,

      Comment

      Working...