[asterisk-bugs] [JIRA] (ASTERISK-22184) SRTP not detected
Floren Munteanu (JIRA)
noreply at issues.asterisk.org
Tue Jul 23 02:11:03 CDT 2013
Floren Munteanu created ASTERISK-22184:
------------------------------------------
Summary: SRTP not detected
Key: ASTERISK-22184
URL: https://issues.asterisk.org/jira/browse/ASTERISK-22184
Project: Asterisk
Issue Type: Bug
Security Level: None
Components: Resources/res_srtp
Affects Versions: 11.5.0
Environment: CentOS 6.4 x86_64
Reporter: Floren Munteanu
Severity: Minor
I cannot compile Asterisk, with SRTP.
I've build the libsrtp libraries with CentOS and pkgconfig standards, but Asterisk refuses to detect the libs.
Steps To Reproduce
On a CentOS minimal setup, install the libraries:
# rpm -ivh --nosignature http://rpm.axivo.com/redhat/axivo-release-6-1.noarch.rpm
# yum --enablerepo=axivo install libsrtp-devel
# find /usr/include -name srtp.h
/usr/include/srtp/srtp.h
/usr/include/openssl/srtp.h
$ cd SOURCES/asterisk-11.5.0
$ ./configure \
--with-asound \
--with-bluetooth \
--with-cap \
--with-cpg \
--with-crypto \
--with-dahdi \
--with-gsm \
--with-iconv \
--with-iksemel \
--with-inotify \
--with-ldap \
--with-libcurl \
--with-libxml2 \
--with-ltdl \
--with-lua \
--with-mysqlclient \
--with-netsnmp \
--with-ogg \
--with-postgres \
--with-popt \
--with-pri \
--with-radius \
--with-spandsp \
--with-srtp \
--with-ss7 \
--with-speex \
--with-speexdsp \
--with-sqlite3 \
--with-ssl \
--with-tds \
--with-unixodbc \
--with-vorbis \
LDFLAGS="-lm -Wl,--as-needed -Wl,--strip-all"
checking for SSL_CTX_set_tlsext_use_srtp in -lssl... yes
checking for openssl/ssl.h... (cached) yes
checking for srtp_init in -lsrtp... yes
checking srtp/srtp.h usability... no
checking srtp/srtp.h presence... no
checking for srtp/srtp.h... no
checking for srtp_shutdown in -lsrtp... yes
checking for srtp/srtp.h... (cached) no
...
checking for mandatory modules: ALSA BLUETOOTH CAP COROSYNC CRYPTO DAHDI GSM ICONV IKSEMEL INOTIFY LDAP LIBXML2 LTDL LUA MYSQLCLIENT NETSNMP OGG PGSQL POPT PRI RADIUS SPANDSP SS7 SPEEX SPEEX_PREPROCESS SPEEXDSP SQLITE3 SRTP OPENSSL FREETDS UNIXODBC VORBIS... fail
configure: ***
configure: *** The SRTP installation appears to be missing or broken.
configure: *** Either correct the installation, or run configure
configure: *** including --without-srtp.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.asterisk.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
More information about the asterisk-bugs
mailing list