Ad Widget

Collapse

Make Install command fails for zabbix 1.8.2

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • raviprakash
    Junior Member
    • Feb 2009
    • 7

    #1

    Make Install command fails for zabbix 1.8.2

    Hi,

    I am trying to install Zabbix 1.8.2 on the red hat linux. I am getting the following error while run the command "make install"


    /usr/lib64/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func':
    (.text+0x174): undefined reference to `dlsym'
    /usr/lib64/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_func':
    (.text+0x22c): undefined reference to `dlerror'
    /usr/lib64/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var':
    (.text+0x2a4): undefined reference to `dlsym'
    /usr/lib64/libcrypto.a(dso_dlfcn.o): In function `dlfcn_bind_var':
    (.text+0x35c): undefined reference to `dlerror'
    /usr/lib64/libcrypto.a(dso_dlfcn.o): In function `dlfcn_unload':
    (.text+0x3bd): undefined reference to `dlclose'
    /usr/lib64/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
    (.text+0x472): undefined reference to `dlopen'
    /usr/lib64/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
    (.text+0x4dd): undefined reference to `dlclose'
    /usr/lib64/libcrypto.a(dso_dlfcn.o): In function `dlfcn_load':
    (.text+0x507): undefined reference to `dlerror'
    collect2: ld returned 1 exit status
    make[3]: *** [zabbix_server] Error 1
    make[3]: Leaving directory `/root/zabbix-1.8.2/src/zabbix_server'
    make[2]: *** [install-recursive] Error 1
    make[2]: Leaving directory `/root/zabbix-1.8.2/src/zabbix_server'
    make[1]: *** [install-recursive] Error 1
    make[1]: Leaving directory `/root/zabbix-1.8.2/src'
    make: *** [install-recursive] Error 1



    Regards,
    Ravi
  • zabbix_zen
    Senior Member
    • Jul 2009
    • 426

    #2
    "red hat linux"
    You do know how many versions of them are they, do you..?

    I'd say it has something to do with openssl dynamically linked libs.

    Did you install openssl-devel?
    (rpm -qa | grep openssl)

    This list of dependencies will probably give you an head start,

    yum -y install gcc mysql-devel curl-devel httpd php php-mysql php-bcmath php-gd net-snmp-devel fping e2fsprogs-devel zlib-devel libgssapi-devel krb5-devel openssl-devel libidn-devel iksemel-devel

    You can use the following links as guides keeping in mind they're for CENTOS,

    http://www.zabbix.com/wiki/howto/ins.../centosinstall
    Last edited by zabbix_zen; 09-04-2010, 16:05.

    Comment

    • raviprakash
      Junior Member
      • Feb 2009
      • 7

      #3
      Hi,

      The Linux version i am using is Redhat 5.
      I am getting the following error

      "configure: error: Invalid NET-SNMP directory - unable to find net-snmp-config"

      when i run the command " ./configure --enable-server --with-mysql --with-net-snmp --enable-agent".

      I have configured snmp and the snmp is started.
      Can i get a package of net-snmp which can be downloaded and configured. or is there any other way of fixing it.

      Regards,
      Ravi

      Comment

      • zabbix_zen
        Senior Member
        • Jul 2009
        • 426

        #4
        Well, yes.
        It's called net-snmp-devel as in,

        yum -y install gcc mysql-devel curl-devel httpd php php-mysql php-bcmath php-gd net-snmp-devel fping e2fsprogs-devel zlib-devel libgssapi-devel krb5-devel openssl-devel libidn-devel iksemel-devel
        Did you try following the tutorials?

        Comment

        • raviprakash
          Junior Member
          • Feb 2009
          • 7

          #5
          Yes, i am following tutorials. It works fine if i exclude the command
          --with-net-snmp but the "make install" fails.

          It is actually getting in to a loop if i try to install net-snmp-devel, it asks many dependencies to install where it gets in to deadlock situation.

          Is there any way to check and download the list of packages?

          Regards,
          Ravi

          Comment

          Working...