ZABBIX Forums  
  #1  
Old 13-11-2007, 09:52
milan.zmarzlak@kofola.cz milan.zmarzlak@kofola.cz is offline
Junior Member
 
Join Date: Nov 2007
Posts: 1
Default 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
Reply With Quote
  #2  
Old 13-11-2007, 10:05
Alexei Alexei is offline
Zabbix developer, product manager
 
Join Date: Sep 2004
Location: Riga, Latvia
Posts: 5,156
Blog Entries: 11
Lightbulb

Quote:
Originally Posted by milan.zmarzlak@kofola.cz 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
Author of Zabbix, Product manager
Riga, Latvia
My Blog
Reply With Quote
  #3  
Old 13-11-2007, 14:28
swaterhouse swaterhouse is offline
Senior Member
 
Join Date: Apr 2006
Location: Auburn, MA
Posts: 263
Default

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
Reply With Quote
  #4  
Old 13-11-2007, 19:08
SharkCZ SharkCZ is offline
Member
 
Join Date: Apr 2006
Posts: 36
Default

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.
Reply With Quote
  #5  
Old 06-08-2010, 00:08
rekby rekby is offline
Junior Member
 
Join Date: Jul 2010
Posts: 22
Default

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
Reply With Quote
  #6  
Old 07-08-2010, 23:16
Murilex Murilex is offline
Senior Member
 
Join Date: Nov 2009
Posts: 108
Default

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
Reply With Quote
  #7  
Old 07-08-2010, 23:19
rekby rekby is offline
Junior Member
 
Join Date: Jul 2010
Posts: 22
Default

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
Reply With Quote
  #8  
Old 18-08-2010, 08:57
vibe83 vibe83 is offline
Junior Member
 
Join Date: Aug 2010
Posts: 8
Default

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
Reply With Quote
  #9  
Old 27-08-2010, 08:35
Hober Hober is offline
Member
 
Join Date: Dec 2008
Posts: 86
Default

Quote:
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
Reply With Quote
  #10  
Old 28-08-2010, 12:10
rekby rekby is offline
Junior Member
 
Join Date: Jul 2010
Posts: 22
Default

# 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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 17:00.