Redhat 5.4, Zabbix 1.8
fails with this error:
I've seen other post related to this same error, but nothing suggested in those posts helped. Any help would be appreciated.
Relevant section from configure.
Code:
# ./configure --enable-server --with-mysql
Code:
... 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 librar
Relevant section from configure.
Code:
...
configure:10585: checking for curl-config
configure:10603: found /usr/bin/curl-config
configure:10616: result: /usr/bin/curl-config
configure:10627: checking for the version of libcurl
configure:10634: result: 7.15.5
configure:10641: checking for libcurl >= version 7.13.1
configure:10654: result: yes
configure:10765: checking for main in -lcurl
configure:10794: gcc -o conftest -g -O2 -I/usr/include/mysql -g -pipe -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector --param=ssp-buffer-size=4 -m64 -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -fno-strict-aliasing -fwrapv -L/usr/kerberos/lib64 -lcurl -ldl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lidn -lssl -lcrypto -lz conftest.c -lcurl -lm -lresolv >&5
/usr/bin/ld: skipping incompatible /usr/lib/libgssapi_krb5.so when searching for -lgssapi_krb5
/usr/bin/ld: skipping incompatible /usr/lib/libgssapi_krb5.a when searching for -lgssapi_krb5
/usr/bin/ld: cannot find -lgssapi_krb5
collect2: ld returned 1 exit status
configure:10800: $? = 1
configure: failed program was:
| /* confdefs.h. */
| #define PACKAGE_NAME ""
| #define PACKAGE_TARNAME ""
| #define PACKAGE_VERSION ""
<snip>
| #define HAVE_PUTENV 1
| #define HAVE_MYSQL 1
| /* end confdefs.h. */
|
|
| int
| main ()
| {
| return main ();
| ;
| return 0;
| }
configure:10818: result: no
configure:10826: error: Not found libcurl library
Code:
# rpm -qa|grep curl curl-7.15.5-2.1.el5_3.5 curl-7.15.5-2.1.el5_3.5 curl-devel-7.15.5-2.1.el5_3.5 curl-devel-7.15.5-2.1.el5_3.5
Comment