Ad Widget

Collapse

Problems with 64 Bit Enterprise Linux

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Umair
    Member
    • Feb 2007
    • 86

    #1

    Problems with 64 Bit Enterprise Linux

    Hello All,
    I have been trying to install Zabbix 1.4 on Red Hat Enterprise 64 Bit version 4.

    I have already installed all the optional packages also including the crypto libraries.
    Secondly, i would want to know if Zabbix 1.4 is compatible with the 64bit version of Red Hat ES?

    I am facing the following errors during the compile phase:

    /usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
    /usr/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm
    /usr/bin/ld: skipping incompatible /usr/lib/libm.so when searching for -lm
    /usr/bin/ld: skipping incompatible /usr/lib/libm.a when searching for -lm
    /usr/bin/ld: skipping incompatible /usr/lib/libresolv.so when searching for -lresolv
    /usr/bin/ld: skipping incompatible /usr/lib/libresolv.a when searching for -lresolv
    /usr/bin/ld: skipping incompatible /usr/lib/libresolv.so when searching for -lresolv
    /usr/bin/ld: skipping incompatible /usr/lib/libresolv.a when searching for -lresolv
    /usr/bin/ld: skipping incompatible /usr/lib/libnsl.so when searching for -lnsl
    /usr/bin/ld: skipping incompatible /usr/lib/libnsl.a when searching for -lnsl
    /usr/bin/ld: skipping incompatible /usr/lib/libnsl.so when searching for -lnsl
    /usr/bin/ld: skipping incompatible /usr/lib/libnsl.a when searching for -lnsl
    /usr/bin/ld: skipping incompatible /usr/lib/libnetsnmp.a when searching for -lnetsnmp
    /usr/bin/ld: skipping incompatible /usr/lib/libnetsnmp.a when searching for -lnetsnmp
    /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
    /usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
    /usr/bin/ld: skipping incompatible /usr/lib/libc.so when searching for -lc
    /usr/bin/ld: skipping incompatible /usr/lib/libc.a when searching for -lc
    /usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../../lib64/libnetsnmp.a(keytools.o)(.text+0xdc): In function `generate_Ku':
    : undefined reference to `EVP_md5'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../../lib64/libnetsnmp.a(keytools.o)(.text+0xec): In function `generate_Ku':
    : undefined reference to `EVP_DigestInit'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../../lib64/libnetsnmp.a(keytools.o)(.text+0x11b):In function `generate_Ku':
    : undefined reference to `EVP_DigestUpdate'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../../lib64/libnetsnmp.a(keytools.o)(.text+0x138):In function `generate_Ku':
    : undefined reference to `EVP_DigestFinal'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../../lib64/libnetsnmp.a(keytools.o)(.text+0x15f):In function `generate_Ku':
    : undefined reference to `EVP_sha1'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../../lib64/libnetsnmp.a(scapi.o)(.text+0xe4): In function `sc_random':
    : undefined reference to `RAND_bytes'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../../lib64/libnetsnmp.a(scapi.o)(.text+0x159): Infunction `sc_random':
    : undefined reference to `RAND_bytes'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../../lib64/libnetsnmp.a(scapi.o)(.text+0x2c2): Infunction `sc_generate_keyed_hash':
    : undefined reference to `EVP_md5'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../../lib64/libnetsnmp.a(scapi.o)(.text+0x2e7): Infunction `sc_generate_keyed_hash':
    : undefined reference to `HMAC'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../../lib64/libnetsnmp.a(scapi.o)(.text+0x39f): Infunction `sc_generate_keyed_hash':
    : undefined reference to `EVP_sha1'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../../lib64/libnetsnmp.a(scapi.o)(.text+0x498): Infunction `sc_hash':
    : undefined reference to `EVP_sha1'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../../lib64/libnetsnmp.a(scapi.o)(.text+0x4b5): Infunction `sc_hash':
    : undefined reference to `SSLeay'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../../lib64/libnetsnmp.a(scapi.o)(.text+0x4d9): Infunction `sc_hash':
    : undefined reference to `EVP_DigestInit'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../../lib64/libnetsnmp.a(scapi.o)(.text+0x4e8): Infunction `sc_hash':
    : undefined reference to `EVP_DigestUpdate'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../../lib64/libnetsnmp.a(scapi.o)(.text+0x4ed): Infunction `sc_hash':
    : undefined reference to `SSLeay'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../../lib64/libnetsnmp.a(scapi.o)(.text+0x507): Infunction `sc_hash':
    : undefined reference to `EVP_DigestFinal'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../../lib64/libnetsnmp.a(scapi.o)(.text+0x578): Infunction `sc_hash':
    : undefined reference to `EVP_md5'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../../lib64/libnetsnmp.a(scapi.o)(.text+0x58f): Infunction `sc_hash':
    : undefined reference to `EVP_DigestFinal_ex'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../../lib64/libnetsnmp.a(scapi.o)(.text+0x597): Infunction `sc_hash':
    : undefined reference to `EVP_MD_CTX_cleanup'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../../lib64/libnetsnmp.a(scapi.o)(.text+0x5a6): Infunction `sc_hash':
    : undefined reference to `EVP_MD_CTX_init'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../../lib64/libnetsnmp.a(scapi.o)(.text+0xae7): Infunction `sc_encrypt':
    : undefined reference to `DES_key_sched'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../../lib64/libnetsnmp.a(scapi.o)(.text+0xb1d): Infunction `sc_encrypt':
    : undefined reference to `DES_ncbc_encrypt'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../../lib64/libnetsnmp.a(scapi.o)(.text+0xb4f): Infunction `sc_encrypt':
    : undefined reference to `DES_ncbc_encrypt'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../../lib64/libnetsnmp.a(scapi.o)(.text+0xc51): Infunction `sc_encrypt':
    : undefined reference to `AES_set_encrypt_key'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../../lib64/libnetsnmp.a(scapi.o)(.text+0xc8b): Infunction `sc_encrypt':
    : undefined reference to `AES_cfb128_encrypt'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../../lib64/libnetsnmp.a(scapi.o)(.text+0xf0d): Infunction `sc_decrypt':
    : undefined reference to `DES_key_sched'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../../lib64/libnetsnmp.a(scapi.o)(.text+0xf40): Infunction `sc_decrypt':
    : undefined reference to `DES_cbc_encrypt'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../../lib64/libnetsnmp.a(scapi.o)(.text+0x1093): In function `sc_decrypt':
    : undefined reference to `AES_set_encrypt_key'
    /usr/lib/gcc/x86_64-redhat-linux/3.4.3/../../../../lib64/libnetsnmp.a(scapi.o)(.text+0x10cd): In function `sc_decrypt':
    : undefined reference to `AES_cfb128_encrypt'
    collect2: ld returned 1 exit status
    make[3]: *** [zabbix_server] Error 1
    make[3]: Leaving directory `/root/Extract/zabbix-1.4/src/zabbix_server'
    make[2]: *** [all-recursive] Error 1
    make[2]: Leaving directory `/root/Extract/zabbix-1.4/src/zabbix_server'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/root/Extract/zabbix-1.4/src'
    make: *** [all-recursive] Error 1


    Any Suggestions ??
  • Umair
    Member
    • Feb 2007
    • 86

    #2
    Okey, so Zabbix does support 64 bit Linux.
    I managed to go through the installation.

    I only had to run the following command before the configure.
    export CFLAGS=-lssl

    Ref : http://www.zabbix.org/forum/showthread.php?t=6091

    Comment

    Working...