Ad Widget

Collapse

Why I get the following error when i make in RHEL4

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • pcicarl
    Junior Member
    • Sep 2005
    • 3

    #1

    Why I get the following error when i make in RHEL4

    /usr/lib/libsnmp.so: undefined reference to `EVP_DigestInit'
    /usr/lib/libsnmp.so: undefined reference to `EVP_DigestFinal'
    /usr/lib/libsnmp.so: undefined reference to `EVP_DigestFinal_ex'
    /usr/lib/libsnmp.so: undefined reference to `AES_set_encrypt_key'
    /usr/lib/libsnmp.so: undefined reference to `EVP_md5'
    /usr/lib/libsnmp.so: undefined reference to `HMAC'
    /usr/lib/libsnmp.so: undefined reference to `EVP_MD_CTX_cleanup'
    /usr/lib/libsnmp.so: undefined reference to `SSLeay'
    /usr/lib/libsnmp.so: undefined reference to `EVP_sha1'
    /usr/lib/libsnmp.so: undefined reference to `EVP_MD_CTX_init'
    /usr/lib/libsnmp.so: undefined reference to `EVP_DigestUpdate'
    /usr/lib/libsnmp.so: undefined reference to `RAND_bytes'
    /usr/lib/libsnmp.so: undefined reference to `DES_cbc_encrypt'
    /usr/lib/libsnmp.so: undefined reference to `DES_ncbc_encrypt'
    /usr/lib/libsnmp.so: undefined reference to `DES_key_sched'
    /usr/lib/libsnmp.so: undefined reference to `AES_cfb128_encrypt'
    collect2: ld returned 1 exit status
    make[3]: *** [zabbix_server] Error 1
    make[3]: Leaving directory `/usr/local/src/zabbix/src/zabbix_server'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/usr/local/src/zabbix/src/zabbix_server'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/usr/local/src/zabbix/src'
    make: *** [all-recursive] Error 1
  • elkor
    Senior Member
    • Jul 2005
    • 299

    #2
    I've done a build on RHEL4 with no extrordinary measures that needed to be taken (it worked out of the box).

    verify your snmp packages? (as that seems to be where it's having issues)

    [root@sentinel]/var/www/html# rpm -qa | grep -i snmp
    net-snmp-libs-5.1.2-11
    net-snmp-5.1.2-11
    net-snmp-perl-5.1.2-11
    net-snmp-devel-5.1.2-11
    net-snmp-utils-5.1.2-11


    if that looks good then I'm not sure, did the make look good up until the snippet you posted or were there problems/warnings either earlier in the linking process or before it started? it's seems odd that these errors are against libsnmp.so; then again, it's early and I haven't had coffee yet.. probably shouldn't be posting

    Comment

    • James Wells
      Senior Member
      • Jun 2005
      • 664

      #3
      Greetings,

      Right off the bat, it looks like you are missing the crypto libraries. Double check your RPM db and make sure you have installed the devel version of the various crypto libraries.
      Unofficial Zabbix Developer

      Comment

      • pcicarl
        Junior Member
        • Sep 2005
        • 3

        #4
        I now get make OK! after reinstall RHEL4 with develope section!

        thank you all!

        Comment

        Working...