[asterisk-users] Can't comile bundled PJSIP on CentOS 7

Olivier oza.4h07 at gmail.com
Mon Jan 9 18:15:36 CST 2017


Hello,

I'm setting up an Asterisk 13.13.1 cluster on two CentOS boxes.

I followed this:
cd /usr/src
wget  ... asterisk-13.13.1.tar.gz
tar zxf asterisk-13.13.1.tar.gz
cd asterisk-13.13.1
ASTERISK_CONFIGURE="--libdir=/usr/lib64 --prefix=/usr"
./configure ${ASTERISK_CONFIGURE}  --with-pjproject-bundled
make menuselect (shows res-srtp is available)
make

latest make command fails with (see [1]:

   [GENERATE] libasteriskpj.exports
   [LD] libasteriskpj.o -> libasteriskpj.so.2
/bin/ld: cannot find -lsrtp-x86_64-unknown-linux-gnu


So I also build a simple VM box in which I also install CentOS and Asterisk
13.3.1 but I could run the above instructions successfully.


Suggestions ?

Best regards

[1] Original error message was localised.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170110/e7b4afa0/attachment.html>


More information about the asterisk-users mailing list