<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 9, 2017 at 5:15 PM, Olivier <span dir="ltr"><<a href="mailto:oza.4h07@gmail.com" target="_blank">oza.4h07@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>Hello,<br><br></div>I'm setting up an Asterisk 13.13.1 cluster on two CentOS boxes.<br><br><div><div>I followed this:<br></div><div>cd /usr/src<br></div><div>wget  ... asterisk-13.13.1.tar.gz<br></div><div>tar zxf asterisk-13.13.1.tar.gz<br></div><div>cd asterisk-13.13.1<br>ASTERISK_CONFIGURE="--libdir=/<wbr>usr/lib64 --prefix=/usr"<br></div><div>./configure ${ASTERISK_CONFIGURE}  --with-pjproject-bundled<br></div><div>make menuselect (shows res-srtp is available)<br></div><div>make<br><br></div><div>latest make command fails with (see [1]:<br><br>   [GENERATE] libasteriskpj.exports<br>   [LD] libasteriskpj.o -> libasteriskpj.so.2<br></div><div>/bin/ld: cannot find -lsrtp-x86_64-unknown-linux-gn<wbr>u<br><br><br></div><div>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.<br></div><div><br><br></div><div>Suggestions ?<br></div></div></div></blockquote><div><br></div><div>Could you have had installed pjproject into the system locations previously?  Specifically, are there any libpj* files in /usr/lib64 or pj* files or directories in /usr/include?  If so, try uninstalling it before building --with-pjproject-bundled.  There may be a conflict.  </div><div><br></div><div>The newest versions of pjproject require libsrtp 2 which doesn't ship with most distributions so pjproject attempts to build it's own internal version.   Because we handle srtp in Asterisk itself not pjproject, we made a change to the bundled version of pjproject to not build that internal libsrtp.  If you look in third-party/pjproject/patches/config_site.h you should see "#define PJMEDIA_HAS_SRTP 0".   It's possible that when the bundled version is being built it's picking up something from the system directories it shouldn't and looking for the internal version of libsrtp which it didn't build.</div><div><br></div><div>If removing the system pjproject fixes your issue, let me know and I'll open a ticket to look further at the conflict.</div><div><br></div><div><br><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><div></div><div><br></div><div>Best regards<br></div><div><br></div><div>[1] Original error message was localised. <br></div></div></div>
<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.org<wbr>/</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/wiki<wbr>/display/AST/Getting+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/mailm<wbr>an/listinfo/asterisk-users</a><br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail-m_-4230290574246118574gmail_signature"><div dir="ltr"><span style="font-size:12.8px">George Joseph</span><br style="font-size:12.8px"><span style="font-size:12.8px">Digium, Inc. | Software Developer</span><span style="font-size:12.8px"><br>445 Jan Davis Drive NW - Huntsville, AL 35806 - US<br></span><span style="font-size:12.8px">Check us out at: </span><a href="http://www.digium.com/" rel="noreferrer" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">www.digium.com</a><span style="font-size:12.8px"> & </span><a href="http://www.asterisk.org/" rel="noreferrer" style="color:rgb(17,85,204);font-size:12.8px" target="_blank">www.<wbr>asterisk.org</a><br><div><br></div></div></div>
</div></div>