<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"><<a href="mailto:Hector.Geraldino@ipsoft.com" target="_blank">Hector.Geraldino@ipsoft.com</a>></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’m trying to build a new FreeSWITCH instance from master, and I have to include the mod_amqp as we’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. 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’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’t find some of the rpms missing, or the RPMs, after installed, didn’t contain the same libs the debian-based pkg seems to have, as the module still
didn’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>