How to install Asterisk with SRTP support?

view story

http://serverfault.com – I'm rather new to Asterisk, and I need my server to support WebRTC. As far as I know, Asterisk version in Asterisk Now is compiled without SRTP support, which is necessary for WebRTC. So, I try to compile Asterisk 11.5.0 with SRTP on my Ubuntu server 13.04. I execute ./configure command with --with-srtp option. Here is this command: ./configure --with-crypto --with-ssl --with-srtp But I get a warning: checking for the ability of -lsrtp to be linked in a shared object... no configure: WARNING: *** configure: WARNING: *** libsrtp could not be linked as a shared object. configure: WARNING: * (HowTos)