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

Anton Teyhrib teihrib at gmail.com
Tue Jan 10 04:28:56 CST 2017


is there libsrtp.so.* in /usr/lib64 ?
did ./configure script show that libsrtp is present?

2017-01-10 14:58 GMT+05:00 Olivier <oza.4h07 at gmail.com>:

> Historically, I didn't use "install_prereq" but I also used it yesterday.
>
> As make fails with "[LD] libasteriskpj.o -> libasteriskpj.so.2" which is
> the first of its "kind", I still wonder
> if issue comes from libsrtp somehow, or from a missing option in
> ./configure (such as --prefix).
>
> 2017-01-10 10:31 GMT+01:00 A J Stiles <asterisk_list at earthshod.co.uk>:
>
>> On Tuesday 10 Jan 2017, Olivier wrote:
>> > 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
>>
>> You probably need to install a package called something like "srtp-devel"
>> or
>> "libsrtp-devel".  (I'm not certain of the exact package name on a
>> Fedora-like
>> system, as I'm coming from Ubuntuland ;) )  Re-run the configure script
>> after
>> installing it.
>>
>> Asterisk always used  (pre-10!)  to be distributed with a script called
>> "install_prereq" which was meant to install all the necessary packages
>> for a
>> full install with everything, at least on a on Fedora-like or Debian-like
>> distro; not sure if this is still included anymore, as it seemed a bit
>> flaky.
>>
>> --
>> AJS
>>
>> Note:  Originating address only accepts e-mail from list!  If replying
>> off-
>> list, change address to asterisk1list at earthshod dot co dot uk .
>>
>> --
>> _____________________________________________________________________
>> -- 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/f40124ab/attachment.html>


More information about the asterisk-users mailing list