PDA

View Full Version : Libcurl library on compiling 1.4


TeeKay3001
21-06-2007, 12:45
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
21-06-2007, 14:18
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:

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

TeeKay3001
22-06-2007, 13:04
Thanks Scott...worked like a charm. Had to erase 7.12.1-5 first, but now all's well...

swaterhouse
22-06-2007, 14:40
Sorry about that - I forgot about that step!

Scott