Not found Curl library

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

    Not found Curl library

    Hi,
    I've tried to install Zabbix 1.4.2 as is described in manual.
    Everything is ok, until I type:
    [[email protected] zabbix-1.4.2]# ./configure --enable-server --with-mysql --with-net-snmp --with-libcurl

    Then I see:
    checking for libcurl >= version 7.13.1... no
    configure: error: Not found Curl library

    Some info about my system:

    CentOS 4.5 (final)

    [[email protected] zabbix-1.4.2]# whereis libcurl
    libcurl: /usr/lib/libcurl.a /usr/lib/libcurl.so /usr/share/man/man3/libcurl.3.gz

    [[email protected] zabbix-1.4.2]# uname -a
    Linux salamoun.kofola.net 2.6.9-42.EL #1 Sat Aug 12 09:17:58 CDT 2006 i686 i686 i386 GNU/Linux

    [[email protected] zabbix-1.4.2]# whereis curl-config
    curl-config: /usr/bin/curl-config /usr/share/man/man1/curl-config.1.gz

    [[email protected] zabbix-1.4.2]# rpm -qa | grep curl
    curl-7.12.1-11.el4
    curl-devel-7.12.1-11.el4



    I tried things like:
    [[email protected] zabbix-1.4.2]# ./configure --enable-server --with-mysql --with-net-snmp --with-libcurl=/usr/lib/
    but nothing happens.

    Thank for your help
    Milan

    #2
    Originally posted by [email protected] View Post
    checking for libcurl >= version 7.13.1... no
    configure: error: Not found Curl library
    Install libcurl-dev of version 7.13.1 or higher and you will be all right.
    Alexei Vladishev
    Creator of Zabbix, Product manager
    New York | Tokyo | Riga
    My Twitter

    Comment


      #3
      There is a install howto on the wiki for CentOS\RHEL. In it is a set of commands to help install the correct version of libcurl

      Comment


        #4
        The libcurl in RHEL/CentOS 4 is too old for Zabbix. So you can build Zabbix without web-monitoring support or you must build newer libcurl yourself.

        Comment


          #5
          I have same problem:
          CentOS release 5.4 (Final)

          I download and install curl from sources without configuration:
          ./configure
          make install

          than I configure zabbix:
          ./configure --enable-static --enable-server --enable-agent --enable-proxy --with-mysql --with-libcurl --with-iobdc --with-ssh2

          and see:

          checking for curl-config... /usr/local/bin/curl-config
          checking for the version of libcurl... 7.21.0
          checking for libcurl >= version 7.13.1... yes
          checking for main in -lcurl... yes
          checking whether libcurl is usable... no
          configure: error: Curl library not found

          Comment


            #6
            I'm using zabbix 1.8.2 on centos 5.4 Final too and there is no problem with libcurl library (installed versions are curl-devel-7.15.5-2.1.el5_3.5 and curl-7.15.5-2.1.el5_3.5). Have you installed the necessary packages?

            Code:
            yum install curl curl-devel

            Comment


              #7
              Yes I have.

              [email protected]:/tmp/zabbix-1.8.2# yum list | grep curl
              curl.i386 7.15.5-9.el5 installed
              curl-devel.i386 7.15.5-9.el5 installed

              Comment


                #8
                i have a similar issue here..


                checking for the version of libcurl... 7.15.5
                checking for libcurl >= version 7.13.1... yes
                checking for main in -lcurl... no
                configure: error: Not found libcurl library


                What else can be done? I've like downloaded many rpms, but each with its own dependencies makes me go round n round n round...gets frustrating. and i can't do yum updates as this isnt a registered machine. RHEL5

                HELPPP PLEASEEE

                Comment


                  #9
                  Originally posted by vibe83 View Post
                  i have a similar issue here..


                  checking for the version of libcurl... 7.15.5
                  checking for libcurl >= version 7.13.1... yes
                  checking for main in -lcurl... no
                  configure: error: Not found libcurl library


                  What else can be done? I've like downloaded many rpms, but each with its own dependencies makes me go round n round n round...gets frustrating. and i can't do yum updates as this isnt a registered machine. RHEL5

                  HELPPP PLEASEEE
                  yum install libidn-devel
                  Zabbix Servers - 1
                  Zabbix Proxy - 145
                  Monitored Servers: ~ 1400

                  Comment


                    #10
                    # yum install libidn-devel
                    ...
                    Package libidn-devel-0.6.5-1.1.i386 already installed and latest version
                    Nothing to do

                    # yum list | grep libid
                    libidn.i386 0.6.5-1.1 installed
                    libidn-devel.i386 0.6.5-1.1 installed

                    # yum list | grep curl
                    curl.i386 7.15.5-2.1.el5_3.5 installed
                    curl-devel.i386 7.15.5-2.1.el5_3.5 installed
                    curl.i386 7.15.5-9.el5 base
                    curl-devel.i386 7.15.5-9.el5 base

                    Comment


                      #11
                      Originally posted by rekby View Post
                      # yum install libidn-devel
                      ...
                      Package libidn-devel-0.6.5-1.1.i386 already installed and latest version
                      Nothing to do

                      # yum list | grep libid
                      libidn.i386 0.6.5-1.1 installed
                      libidn-devel.i386 0.6.5-1.1 installed

                      # yum list | grep curl
                      curl.i386 7.15.5-2.1.el5_3.5 installed
                      curl-devel.i386 7.15.5-2.1.el5_3.5 installed
                      curl.i386 7.15.5-9.el5 base
                      curl-devel.i386 7.15.5-9.el5 base
                      Show config.log
                      Zabbix Servers - 1
                      Zabbix Proxy - 145
                      Monitored Servers: ~ 1400

                      Comment


                        #12
                        config.log in attachement
                        Attached Files

                        Comment


                          #13
                          Has anyone a solution to this problem. I'm experiencing the same problem on an ubuntu server system.
                          How do I solve this problem, I've installed all the libs needed as far as I can see.

                          Comment


                            #14
                            The problem seems to be with:
                            Code:
                            --enable-static
                            See this post:
                            http://www.zabbix.com/forum/showthread.php?t=9052



                            It has something to do with libcurl and static linking, which doesn't seem to work.
                            With kind regards,

                            Raymond

                            ---
                            Online Zabbix tutorials:
                            http://www.zbxtutorials.org

                            Comment


                              #15
                              You need to install curl libraries, not just curl:

                              yum install curl-devel

                              Comment

                              Announcement

                              Collapse
                              No announcement yet.
                              Working...
                              X