PDA

View Full Version : Curl problem zabbix 1.6.4 - debian lenny


roxy
17-04-2009, 12:51
During configuration of zabbix 1.6.4, I get this error:

checking for strtod... yes
checking for snprintf... yes
checking for vasprintf... yes
checking for asprintf... yes
checking for vsnprintf... yes
checking for hstrerror... yes
checking for atoll... yes
checking for getopt_long... yes
checking for mysql_config... /usr/bin/mysql_config
checking for main in -lmysqlclient ... yes
checking for ZABBIX server database selection... ok
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for iksemel support... yes
checking for getaddrinfo... yes
checking for main in -lgnutls ... yes
checking for main in -ltasn1 ... yes
checking for main in -lgcrypt ... yes
checking for main in -lgpg-error ... yes
checking for gawk... (cached) mawk
checking for curl-config... /usr/bin/curl-config
checking for the version of libcurl... 7.18.2
checking for libcurl >= version 7.13.1... yes
checking for main in -lcurl... yes
checking whether libcurl is usable... no
configure: error: Not found Curl library

Can anyone help me ?
using Linux Debian lenny, follows some infos:

$ curl-config --version
libcurl 7.18.2
$ curl-config --cflags

$ curl-config --libs
-lcurl

$ curl-config --static-libs
/usr/lib/libcurl.a -lidn -llber -lldap -lrt -lgssapi_krb5 -lgssapi_krb5 -lz -lgnutls

Calimero
17-04-2009, 13:59
Are you running an AMD64 install ?
Maybe there's some 32b/64b confusion.

I got the same kind of problem on Centos x86_64 ...

roxy
17-04-2009, 14:21
i686 32bit guest on xenserver host (virtual machine)

Calimero
17-04-2009, 15:23
OK. Take a look at 'configure.log'. You'll have extra details. There's probably the gcc command with all parameters that failed and error messages.

roxy
17-04-2009, 15:27
I have just open configure.log there are many reference error.
Probably lenny has some curl dependency problem. If I install:

apt-get install libcurl4-gnutls-dev libcurl4-openssl-dev

I receive conflict with libcurl-dev (that is the virtual package for the two above).

So, for the moment, configured without --enable-static

What's the possible problems using non static linking ?

H2O1h
10-01-2011, 17:12
Hi there...


# aptitude install curl
# aptitude install libidn11-dev
# aptitude install openssl

...and u're done with cURL.



Don't forget about:

zlib, glibc and net-snmp (for SNMP support), popt (net-snmp might depend on it), rpm (net-snmp might depend on it), OpenIPMI(for IPMI support) and libssh2 (for direct SSH checks)



Greetings from Earth :D