<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif;">
<div>I wish I could read/understand Makefiles, all I can see is just gibberish.&nbsp;</div>
<div><br>
</div>
<div>I installed the RPMs, and libraries were copied under /usr/lib/x86_64-linux-gnu, which might or might not be on the standard path. Nevertheless, I added the directory to the $PATH and $LD_LIBRARY_PATH environment variables, ran ./configure then make, and
 err was the same.</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>&lt;<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org">freeswitch-users-bounces@lists.freeswitch.org</a>&gt; on behalf of Steven Ayre &lt;<a href="mailto:steveayre@gmail.com">steveayre@gmail.com</a>&gt;<br>
<span style="font-weight:bold">Reply-To: </span>FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Monday, June 29, 2015 at 4:54 PM<br>
<span style="font-weight:bold">To: </span>FreeSWITCH Users Help &lt;<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>Re: [Freeswitch-users] mod_amqp on RHEL<br>
</div>
<div><br>
</div>
<div>
<div>
<div dir="ltr">Did you install the runtime package librabbitmq as well as the development header package librabbitmq-devel?
<div><br>
</div>
<div>You could also try installing librabbitmq from source. It's looking for the libraries/headers in the standard paths, not a formal package installed.</div>
<div><br>
</div>
<div>It's also possible though that the files are there but the compiler isn't looking at the correct path on your system, perhaps because of minor differences in paths between linux distributions despite FHS.</div>
<div><br>
</div>
<div>Steve</div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On 29 June 2015 at 16:55, Hector Geraldino <span dir="ltr">
&lt;<a href="mailto:Hector.Geraldino@ipsoft.com" target="_blank">Hector.Geraldino@ipsoft.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word">
<div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:14px">Greetings,</div>
<div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:14px"><br>
</div>
<div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:14px">I&#8217;m trying to build a new FreeSWITCH instance from master, and I have to include the mod_amqp as we&#8217;ll be relying on RabbitMQ to deliver events. Anyway, this is not working for me on
 a RHEL 6.2 server due to this error:</div>
<div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:14px"><br>
</div>
<div>
<div><font face="Calibri,sans-serif">make[3]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod'</font></div>
<div><font face="Calibri,sans-serif"><br>
</font></div>
<div><font face="Calibri,sans-serif">making all mod_amqp</font></div>
<div><font face="Calibri,sans-serif">make[4]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp'</font></div>
<div><font face="Calibri,sans-serif">Makefile:772: *** You must install librabbitmq1 and librabbitmq-dev to build this module.&nbsp; Stop.</font></div>
<div><font face="Calibri,sans-serif">make[4]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp'</font></div>
<div><font face="Calibri,sans-serif">make[3]: *** [mod_amqp-all] Error 1</font></div>
<div><font face="Calibri,sans-serif">make[3]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod'</font></div>
<div><font face="Calibri,sans-serif">make[2]: *** [all-recursive] Error 1</font></div>
<div><font face="Calibri,sans-serif">make[2]: Leaving directory `/apps/src/freeswitch-1.4.19/src'</font></div>
<div><font face="Calibri,sans-serif">make[1]: *** [all-recursive] Error 1</font></div>
<div><font face="Calibri,sans-serif">make[1]: Leaving directory `/apps/src/freeswitch-1.4.19'</font></div>
<div><font face="Calibri,sans-serif">make: *** [all] Error 2</font></div>
</div>
<div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:14px"><br>
</div>
<div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:14px">The error is pretty obvious: it&#8217;s missing these two libraries listed there, but thing is that I cannot find those libraries (or any replacement for them) for the Red Hat/Fedora distros.
 I installled rabbitmq-server, no luck. Tried to install these:</div>
<div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:14px"><br>
</div>
<div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:14px"><a href="http://rpm.pbone.net/index.php3/stat/4/idpl/26206777/dir/redhat_el_6/com/librabbitmq-devel-0.5.0-2.el6.x86_64.rpm.html" target="_blank">http://rpm.pbone.net/index.php3/stat/4/idpl/26206777/dir/redhat_el_6/com/librabbitmq-devel-0.5.0-2.el6.x86_64.rpm.html</a></div>
<div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:14px"><a href="http://www.rpmfind.net/linux/rpm2html/search.php?query=librabbitmq-devel(x86-64)" target="_blank">http://www.rpmfind.net/linux/rpm2html/search.php?query=librabbitmq-devel(x86-64)</a></div>
<div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:14px"><br>
</div>
<div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:14px">No luck either. It was either I was missing some other dependencies, and then some more, and more, until I couldn&#8217;t find some of the rpms missing, or the RPMs, after installed, didn&#8217;t
 contain the same libs the debian-based pkg seems to have, as the module still didn&#8217;t compile.</div>
<div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:14px"><br>
</div>
<div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:14px">Has anyone been able to compile this on a redhat based distro? (fedora,rhel,centos)</div>
<div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:14px"><br>
</div>
<div style="color:rgb(0,0,0);font-family:Calibri,sans-serif;font-size:14px">Thanks all for your time</div>
</div>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</span>
</body>
</html>