[asterisk-bugs] [Asterisk 0011126]: Asterisk fails to load func_curl.so
noreply at bugs.digium.com
noreply at bugs.digium.com
Wed Oct 31 12:27:25 CDT 2007
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=11126
======================================================================
Reported By: naderp
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 11126
Category: Functions/func_curl
Reproducibility: always
Severity: major
Priority: normal
Status: feedback
Asterisk Version: 1.4.13
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 10-30-2007 18:13 CDT
Last Modified: 10-31-2007 12:27 CDT
======================================================================
Summary: Asterisk fails to load func_curl.so
Description:
On centos 5.0 func_curl.so builds without linking to libcurl so that when *
starts it complains it can't find curl_global_init symbol.
======================================================================
----------------------------------------------------------------------
naderp - 10-31-07 12:27
----------------------------------------------------------------------
[root at dhcppc2 ~]# curl-config --libs
Package libcurl was not found in the pkg-config search path.
Perhaps you should add the directory containing `libcurl.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libcurl' found
If I set:
[root at dhcppc2 ~]# export
PKG_CONFIG_PATH=/usr/lib/pkgconfig:/usr/local/lib/pkgconfig
then
[root at dhcppc2 ~]# curl-config --libs
-L/usr/kerberos/lib -lcurl -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err
-lresolv -ldl -lidn -lssl -lcrypto -lz
Defining PKG_CONFIG_PATH in .bashrc and then:
# make clean
# ./configure
# make
fixes it:
[root at dhcppc2 asterisk-1.4.13]# ldd funcs/func_curl.so
linux-gate.so.1 => (0x0012b000)
libcurl.so.3 => /usr/lib/libcurl.so.3 (0x0063d000)
libgssapi_krb5.so.2 => /usr/lib/libgssapi_krb5.so.2 (0x004c7000)
libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0x00cc5000)
libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0x00459000)
libcom_err.so.2 => /lib/libcom_err.so.2 (0x00110000)
libresolv.so.2 => /lib/libresolv.so.2 (0x002b7000)
libdl.so.2 => /lib/libdl.so.2 (0x0016d000)
libidn.so.11 => /usr/lib/libidn.so.11 (0x0054b000)
libssl.so.6 => /lib/libssl.so.6 (0x00703000)
libcrypto.so.6 => /lib/libcrypto.so.6 (0x00da3000)
libz.so.1 => /usr/lib/libz.so.1 (0x00113000)
libpthread.so.0 => /lib/libpthread.so.0 (0x0030f000)
libc.so.6 => /lib/libc.so.6 (0x00171000)
libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0x00ede000)
/lib/ld-linux.so.2 (0x0039d000)
[root at dhcppc2 asterisk-1.4.13]#
Thing is it used to work ok in 1.4.11.
Thanks
Issue History
Date Modified Username Field Change
======================================================================
10-31-07 12:27 naderp Note Added: 0072826
======================================================================
More information about the asterisk-bugs
mailing list