Ad Widget

Collapse

Not found Curl library with Zabbix 1.6.5 on RHEL4

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • iam33
    Junior Member
    • Jul 2009
    • 24

    #1

    Not found Curl library with Zabbix 1.6.5 on RHEL4

    Hi! thnaks in advance!

    I´m trying to install the server and when I execute:

    ./configure --enable-server --enable-agent --with-mysql --with-net-snmp --with-jabber --with-libcurl

    I obtain the next error:

    checking for curl-config... /usr/bin/
    configure: error: Not found Curl library

    If I try whith the route of libcurl

    ./configure --enable-server --enable-agent --with-mysql --with-net-snmp --with-jabber --with-libcurl=/usr/bin/

    I obatin the same error...abd with --enable-static param....

    I probed with:

    ./configure --enable-server --enable-agent --with-mysql --with-net-snmp --with-jabber --with-libcurl=/usr/bin/curl-config

    and the error changed:

    checking for main in -lcurl... no
    configure: error: Not found libcurl library

    And with:

    ./configure --enable-server --enable-agent --with-mysql --with-net-snmp --with-jabber --with-libcurl=/usr/bin/curl-config --enable-static

    checking for main in -lgnutls ... no
    configure: error: Not found gnutls library



    Help me please!!!

    Code:
    rpm -qa |grep curl
    libcurl4-7.19.4-1
    curl-7.19.4-1
    libcurl4-devel-7.19.4-1

    Code:
    curl-config --libs
    -lcurl -lidn -lssh2 -lssl -lcrypto -lldap -L/usr/kerberos/lib -lgssapi_krb5 -lkrb5 -lk5crypto -L/usr/kerberos/lib -lgssapi_krb5 -lkrb5 -lk5crypto -lz
    Code:
    curl-config --cflags
    Code:
     curl-config --version
    libcurl 7.19.4
  • pesadilla
    Member
    • Nov 2006
    • 69

    #2
    not found gnutls library

    Originally posted by iam33
    And with:

    ./configure --enable-server --enable-agent --with-mysql --with-net-snmp --with-jabber --with-libcurl=/usr/bin/curl-config --enable-static

    checking for main in -lgnutls ... no
    configure: error: Not found gnutls library

    see the problem now is gnutls

    Comment

    • dani
      Junior Member
      • Jun 2009
      • 7

      #3
      Hi

      You can find compiled/source rpm for centos 4 (made for SME server 7 which is based on centos 4) here:




      (just grab the zabbix-* rpm, do not bother with smeserver-zabbix-* which are specific for the SME Server distribution)

      And you can look here:


      if you want the pre-compiled rpm for the pgsql/sqlite variant.

      Cheers, Daniel

      Comment

      • iam33
        Junior Member
        • Jul 2009
        • 24

        #4
        Thanks for your answers!

        When I can test it, I´ll say you the results...

        Comment

        • iam33
          Junior Member
          • Jul 2009
          • 24

          #5
          Code:
          You can find compiled/source rpm for centos 4 (made for SME server 7 which is based on centos 4) here: 
          
          http://sme-mirror.firewall-services....ibs/i386/RPMS/
          http://sme-mirror.firewall-services....ontribs/SRPMS/
          
          (just grab the zabbix-* rpm, do not bother with smeserver-zabbix-* which are specific for the SME Server distribution)
          ...But....what packages must I install? all zabix packages?
          Last edited by iam33; 04-08-2009, 11:01.

          Comment

          • dani
            Junior Member
            • Jun 2009
            • 7

            #6
            Well, that depend on what you want to install. If you want to install a zabbix server with mysql support, you need to download:





            and if you want the web interface on the same server, you also need:



            Download all these rpms in a local folder, then run

            yum localinstall ./zabbix*.rpm

            Cheers

            Comment

            • iam33
              Junior Member
              • Jul 2009
              • 24

              #7
              so...cause, I want to install all like:

              ./configure --enable-server --enable-agent --with-mysql --with-net-snmp --with-jabber --with-libcurl=/usr/bin/curl-config --enable-static

              I must install all pacakes without refers proxy, mustn´t I?

              Comment

              • dani
                Junior Member
                • Jun 2009
                • 7

                #8
                Originally posted by iam33
                so...cause, I want to install all like:

                ./configure --enable-server --enable-agent --with-mysql --with-net-snmp --with-jabber --with-libcurl=/usr/bin/curl-config --enable-static

                I must install all pacakes without refers proxy, mustn´t I?
                If you also want the agent, add this:

                Comment

                • iam33
                  Junior Member
                  • Jul 2009
                  • 24

                  #9
                  Dani,

                  Thousand thanks for your help!!! today I won´t try it, maybe tomorrow, and I will answer you how it was...

                  Comment

                  • iam33
                    Junior Member
                    • Jul 2009
                    • 24

                    #10
                    I´m just installing the Zabbix server with rpms, but when I´m going to install zabix-server rpm ... It ask me for "zabbix-server-implementation"

                    Code:
                    rpm -ivh zabbix-server-1.6.5-1.el4.sme.i386.rpm
                    warning: zabbix-server-1.6.5-1.el4.sme.i386.rpm: V3 DSA signature: NOKEY, key ID 1e9c9308
                    error: Failed dependencies:
                            zabbix-server-implementation = 1.6.5-1.el4.sme is needed by zabbix-server-1.6.5-1.el4.sme.i386
                    Where Can I obtain it?

                    Comment

                    • dani
                      Junior Member
                      • Jun 2009
                      • 7

                      #11
                      This is because you first need to install the package called zabbix-server-mysql. But you should really considere using yum instead of rpm as it'll resolve all the dependencies even when you install local packages:

                      download everything in a local directory with wget, then go in this directory and run:

                      Code:
                      yum localinstall ./*.rpm

                      Comment

                      Working...