<div dir="ltr"><div><div>Historically, I didn't use "install_prereq" but I also used it yesterday.<br><br></div>As make fails with "[<span class="gmail-im">LD] libasteriskpj.o -> libasteriskpj.so.2" which is the first of its "kind", I still wonder<br></span></div><span class="gmail-im">if issue comes from libsrtp somehow, or from a missing option in ./configure (such as --prefix).<br></span></div><div class="gmail_extra"><br><div class="gmail_quote">2017-01-10 10:31 GMT+01:00 A J Stiles <span dir="ltr"><<a href="mailto:asterisk_list@earthshod.co.uk" target="_blank">asterisk_list@earthshod.co.uk</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On Tuesday 10 Jan 2017, Olivier wrote:<br>
> Hello,<br>
><br>
> I'm setting up an Asterisk 13.13.1 cluster on two CentOS boxes.<br>
><br>
> I followed this:<br>
> cd /usr/src<br>
> wget ... asterisk-13.13.1.tar.gz<br>
> tar zxf asterisk-13.13.1.tar.gz<br>
> cd asterisk-13.13.1<br>
> ASTERISK_CONFIGURE="--libdir=/<wbr>usr/lib64 --prefix=/usr"<br>
> ./configure ${ASTERISK_CONFIGURE} --with-pjproject-bundled<br>
> make menuselect (shows res-srtp is available)<br>
> make<br>
><br>
> latest make command fails with (see [1]:<br>
><br>
> [GENERATE] libasteriskpj.exports<br>
> [LD] libasteriskpj.o -> libasteriskpj.so.2<br>
> /bin/ld: cannot find -lsrtp-x86_64-unknown-linux-<wbr>gnu<br>
<br>
</span>You probably need to install a package called something like "srtp-devel" or<br>
"libsrtp-devel". (I'm not certain of the exact package name on a Fedora-like<br>
system, as I'm coming from Ubuntuland ;) ) Re-run the configure script after<br>
installing it.<br>
<br>
Asterisk always used (pre-10!) to be distributed with a script called<br>
"install_prereq" which was meant to install all the necessary packages for a<br>
full install with everything, at least on a on Fedora-like or Debian-like<br>
distro; not sure if this is still included anymore, as it seemed a bit flaky.<br>
<span class="HOEnZb"><font color="#888888"><br>
--<br>
AJS<br>
<br>
Note: Originating address only accepts e-mail from list! If replying off-<br>
list, change address to asterisk1list at earthshod dot co dot uk .<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
--<br>
______________________________<wbr>______________________________<wbr>_________<br>
-- Bandwidth and Colocation Provided by <a href="http://www.api-digital.com" rel="noreferrer" target="_blank">http://www.api-digital.com</a> --<br>
<br>
Check out the new Asterisk community forum at: <a href="https://community.asterisk.org/" rel="noreferrer" target="_blank">https://community.asterisk.<wbr>org/</a><br>
<br>
New to Asterisk? Start here:<br>
<a href="https://wiki.asterisk.org/wiki/display/AST/Getting+Started" rel="noreferrer" target="_blank">https://wiki.asterisk.org/<wbr>wiki/display/AST/Getting+<wbr>Started</a><br>
<br>
asterisk-users mailing list<br>
To UNSUBSCRIBE or update options visit:<br>
<a href="http://lists.digium.com/mailman/listinfo/asterisk-users" rel="noreferrer" target="_blank">http://lists.digium.com/<wbr>mailman/listinfo/asterisk-<wbr>users</a><br>
</div></div></blockquote></div><br></div>