Ad Widget

Collapse

Libcurl library on compiling 1.4

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • TeeKay3001
    Junior Member
    • Apr 2006
    • 22

    #1

    Libcurl library on compiling 1.4

    I compile zabbix 1.4 and when it queries the libcurl library it gets the follwoing error.

    checking for curl-config... /usr/bin/curl-config
    checking for the version of libcurl... 7.12.1
    checking for libcurl >= version 7.15.1... no
    configure: error: Not found Curl library
    [root@lynx zabbix-1.4]# rpm -q -a | grep curl
    curl-devel-7.12.1-5.rhel4
    curl-7.12.1-5.rhel4
    [root@lynx zabbix-1.4]#

    As you can see I checked and the libraries are there.

    Now what????
  • swaterhouse
    Senior Member
    • Apr 2006
    • 268

    #2
    The error is not that it cant find libcurl its that is too old (you have 7.12.1 you need 7.15.1 or greater)

    checking for the version of libcurl... 7.12.1
    checking for libcurl >= version 7.15.1... no

    You need 7.15.1 or greater. On a CentOS/RHEL 4.x box you can get 7.16.2 with the following commands:

    Code:
    wget http://curl.mirrors.cyberservers.net/download/libcurl4-devel-7.16.2-1.i386.rpm
    wget http://curl.mirrors.cyberservers.net/download/libcurl4-7.16.2-1.i386.rpm
    
    yum install openssl096b
    rpm -ivh libcurl4-7.16.2-1.i386.rpm
    rpm -ivh libcurl4-devel-7.16.2-1.i386.rpm
    note that openssl096b is a prerequisite of libcurl 7.16

    On a CentOS 5.x box libcurl is at least 7.15.1 (i forget which version it is specifically)

    HTH,
    Scott

    Comment

    • TeeKay3001
      Junior Member
      • Apr 2006
      • 22

      #3
      Thanks Scott...worked like a charm. Had to erase 7.12.1-5 first, but now all's well...

      Comment

      • swaterhouse
        Senior Member
        • Apr 2006
        • 268

        #4
        Sorry about that - I forgot about that step!

        Scott

        Comment

        Working...