View Full Version : Not found Curl library
milan.zmarzlak@kofola.cz
13-11-2007, 09:52
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
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.
swaterhouse
13-11-2007, 14:28
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
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.
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
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?
yum install curl curl-devel
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
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
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
# 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
# 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
config.log in attachement
crusader-2004
19-10-2010, 01:15
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.
The problem seems to be with:
--enable-static
See this post:
http://www.zabbix.com/forum/showthread.php?t=9052
(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.