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

Olivier oza.4h07 at gmail.com
Tue Jan 10 03:52:11 CST 2017


2017-01-10 5:30 GMT+01:00 Anton Teyhrib <teihrib at gmail.com>:

> Maybe libsrtp package is missing on your machine?
>

 libsrtp-devel  was installed and I could check it was installed with
menuselect (Resources Modules/res_srtp)




> 10 янв. 2017 г. 5:16 AM пользователь "Olivier" <oza.4h07 at gmail.com>
> написал:
>
>> 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.
>>
>> --
>> _____________________________________________________________________
>> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>>
>> Check out the new Asterisk community forum at:
>> https://community.asterisk.org/
>>
>> New to Asterisk? Start here:
>>       https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>>
>> asterisk-users mailing list
>> To UNSUBSCRIBE or update options visit:
>>    http://lists.digium.com/mailman/listinfo/asterisk-users
>>
>
> --
> _____________________________________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
>
> Check out the new Asterisk community forum at: https://community.asterisk.
> org/
>
> New to Asterisk? Start here:
>       https://wiki.asterisk.org/wiki/display/AST/Getting+Started
>
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20170110/e2d0ec90/attachment.html>


More information about the asterisk-users mailing list