-
Incident report
-
Resolution: Fixed
-
Major
-
None
-
1.4
-
None
-
Redhat EL 3, Zabbix 1.4.4, curl-7.18.1
I'm getting the following error while trying to compile zabbix-1.4.4 (BTW, you probably need to add 1.4.4 to versions list)
$ ./configure --prefix=/opt/zabbix-1.4.5/ --enable-server --enable-agent --with-pgsql --with-libcurl=/opt/curl/bin/curl-config --with-net-snmp
gcc -g -O2 -I/usr/include -I/opt/curl-7.18.1//include -I/usr/include/rpm -I/usr/local/include -I/usr/include/gdbm -I/usr/lib/perl5/5.8.8/i386-linux-thread-multi/CORE -I. -I/usr/include/net-snmp -o zabbix_server -L/usr/lib -lpq -L/opt/curl-7.18.1//lib -L/usr/kerberos/lib -L/usr/lib -L/usr/lib zabbix_server-evalfunc.o zabbix_server-expression.o zabbix_server-actions.o zabbix_server-operations.o zabbix_server-events.o zabbix_server-zlog.o zabbix_server-functions.o zabbix_server-server.o alerter/libzbxalerter.a discoverer/libzbxdiscoverer.a pinger/libzbxpinger.a poller/libzbxpoller.a housekeeper/libzbxhousekeeper.a timer/libzbxtimer.a trapper/libzbxtrapper.a nodewatcher/libzbxnodewatcher.a utils/libzbxutils.a httppoller/libzbxhttppoller.a watchdog/libzbxwatchdog.a ../../src/libs/zbxsysinfo/libzbxserversysinfo.a ../../src/libs/zbxsysinfo/linux/libspecsysinfo.a ../../src/libs/zbxsysinfo/common/libcommonsysinfo.a ../../src/libs/zbxsysinfo/simple/libsimplesysinfo.a ../../src/libs/zbxlog/libzbxlog.a ../../src/libs/zbxnix/libzbxnix.a ../../src/libs/zbxsys/libzbxsys.a ../../src/libs/zbxconf/libzbxconf.a ../../src/libs/zbxemail/libzbxemail.a ../../src/libs/zbxsms/libzbxsms.a ../../src/libs/zbxdbhigh/libzbxdbhigh.a ../../src/libs/zbxdb/libzbxdb.a ../../src/libs/zbxcommon/libzbxcommon.a ../../src/libs/zbxcrypto/libzbxcrypto.a ../../src/libs/zbxcomms/libzbxcomms.a -lcurl -lnetsnmp -lm -lresolv
httppoller/libzbxhttppoller.a(httptest.o)(.text+0x42c): In function `process_httptest':
/usr/src/zabbix-1.4.5/src/zabbix_server/httppoller/httptest.c:280: undefined reference to `curl_easy_strerror'
httppoller/libzbxhttppoller.a(httptest.o)(.text+0x46b):/usr/src/zabbix-1.4.5/src/zabbix_server/httppoller/httptest.c:287: undefined reference to `curl_easy_strerror'
httppoller/libzbxhttppoller.a(httptest.o)(.text+0x493):/usr/src/zabbix-1.4.5/src/zabbix_server/httppoller/httptest.c:294: undefined reference to `curl_easy_strerror'
httppoller/libzbxhttppoller.a(httptest.o)(.text+0x4dd):/usr/src/zabbix-1.4.5/src/zabbix_server/httppoller/httptest.c:308: undefined reference to `curl_easy_strerror'
httppoller/libzbxhttppoller.a(httptest.o)(.text+0x506):/usr/src/zabbix-1.4.5/src/zabbix_server/httppoller/httptest.c:316: undefined reference to `curl_easy_strerror'
httppoller/libzbxhttppoller.a(httptest.o)(.text+0x52f):/usr/src/zabbix-1.4.5/src/zabbix_server/httppoller/httptest.c:325: more undefined references to `curl_easy_strerror' follow
I'm using curl compiled from source and placed to /opt/curl-7.18.1/ (/opt/curl/ is symlink to /opt/curl-7.18.1)
curl was configured with following:
./configure --prefix=/opt/curl-7.18.1/ --enable-http --enable-ftp --enable-file --enable-cookies --with-ssl
and the summary was
curl version: 7.18.1
Host setup: i686-pc-linux-gnu
Install prefix: /opt/curl-7.18.1/
Compiler: gcc
SSL support: enabled (OpenSSL)
SSH support: no (--with-libssh2)
zlib support: enabled
krb4 support: no (--with-krb4*)
GSSAPI support: no (--with-gssapi)
SPNEGO support: no (--with-spnego)
c-ares support: no (--enable-ares)
ipv6 support: no (--enable-ipv6)
IDN support: no (--with-libidn)
Build libcurl: Shared=yes, Static=yes
Built-in manual: enabled
Verbose errors: enabled (--disable-verbose)
SSPI support: no (--enable-sspi)
ca cert bundle: /usr/share/ssl/certs/ca-bundle.crt
ca cert path: no
LDAP support: enabled (OpenLDAP)
LDAPS support: no (--enable-ldaps)