Ad Widget

Collapse

compile error with net-snmp

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • cnicules
    Junior Member
    • Jun 2005
    • 5

    #1

    compile error with net-snmp

    hi,

    i want to user snmp so i do "./configure -with-mysql -with-net-snmp", and at compile time i get:

    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 trapper.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.so: undefined reference to `EVP_DigestInit'
    /usr/lib/libnetsnmp.so: undefined reference to `EVP_DigestFinal'
    /usr/lib/libnetsnmp.so: undefined reference to `EVP_DigestFinal_ex'
    /usr/lib/libnetsnmp.so: undefined reference to `AES_set_encrypt_key'
    /usr/lib/libnetsnmp.so: undefined reference to `EVP_md5'

    in fact i didn't get, if to monitor a device with snmp i need this, or its for geting info out of zabbix by snmp.

    i use a CentOS 4.1, with mysql and on both zabbix 1.0 and 1.1alpha i get the error

    thanks for help

    c
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    My guess is that openssl-dev is missing.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment

    • MerCury
      Junior Member
      • Jun 2005
      • 2

      #3
      I have the same error too.

      [root@lk112 /home/tmp/zabbix1.1a]# rpm -qa | grep openssl
      openssl096-0.9.6-6
      openssl-devel-0.9.6b-18
      openssl-0.9.6b-18
      openssl095a-0.9.5a-11
      openssl-perl-0.9.6b-18


      I searched the forums and it was said by one user that it could be because the net-snmp was installed without openssl support.

      i tried reinstalling net-snmp but the error is still the same.
      anybody can advise how to install net-snmp with openssl support?

      Comment

      • cnicules
        Junior Member
        • Jun 2005
        • 5

        #4
        Originally posted by Alexei
        My guess is that openssl-dev is missing.
        yup thats it thx

        Comment

        Working...