Ad Widget

Collapse

Not found Curl library

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • milan.zmarzlak@kofola.cz
    Junior Member
    • Nov 2007
    • 1

    #1

    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:
    [root@salamoun 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)

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

    [root@salamoun 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

    [root@salamoun zabbix-1.4.2]# whereis curl-config
    curl-config: /usr/bin/curl-config /usr/share/man/man1/curl-config.1.gz

    [root@salamoun 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:
    [root@salamoun zabbix-1.4.2]# ./configure --enable-server --with-mysql --with-net-snmp --with-libcurl=/usr/lib/
    but nothing happens.

    Thank for your help
    Milan
  • Alexei
    Founder, CEO
    Zabbix Certified Trainer
    Zabbix Certified SpecialistZabbix Certified Professional
    • Sep 2004
    • 5654

    #2
    Originally posted by [email protected]
    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

    • swaterhouse
      Senior Member
      • Apr 2006
      • 268

      #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

      • SharkCZ
        Member
        • Apr 2006
        • 39

        #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

        • rekby
          Member
          • Jul 2010
          • 91

          #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

          • Murilex
            Senior Member
            • Nov 2009
            • 124

            #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

            • rekby
              Member
              • Jul 2010
              • 91

              #7
              Yes I have.

              root@hv6606:/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

              • vibe83
                Junior Member
                • Aug 2010
                • 8

                #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

                • Hober
                  Senior Member
                  • Dec 2008
                  • 109

                  #9
                  Originally posted by vibe83
                  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

                  • rekby
                    Member
                    • Jul 2010
                    • 91

                    #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

                    • Hober
                      Senior Member
                      • Dec 2008
                      • 109

                      #11
                      Originally posted by rekby
                      # 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

                      • rekby
                        Member
                        • Jul 2010
                        • 91

                        #12
                        config.log in attachement
                        Attached Files

                        Comment

                        • crusader-2004
                          Junior Member
                          • Mar 2010
                          • 3

                          #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

                          • qix
                            Senior Member
                            Zabbix Certified SpecialistZabbix Certified Professional
                            • Oct 2006
                            • 423

                            #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

                            Comment

                            • anishkvmca
                              Junior Member
                              • Apr 2016
                              • 13

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

                              yum install curl-devel

                              Comment

                              Working...