[Freeswitch-users] mod_amqp on RHEL

Hector Geraldino Hector.Geraldino at ipsoft.com
Tue Jun 30 19:08:21 MSD 2015


I wish I could read/understand Makefiles, all I can see is just gibberish.

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.

From: <freeswitch-users-bounces at lists.freeswitch.org<mailto:freeswitch-users-bounces at lists.freeswitch.org>> on behalf of Steven Ayre <steveayre at gmail.com<mailto:steveayre at gmail.com>>
Reply-To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org<mailto:freeswitch-users at lists.freeswitch.org>>
Date: Monday, June 29, 2015 at 4:54 PM
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org<mailto:freeswitch-users at lists.freeswitch.org>>
Subject: Re: [Freeswitch-users] mod_amqp on RHEL

Did you install the runtime package librabbitmq as well as the development header package librabbitmq-devel?

You could also try installing librabbitmq from source. It's looking for the libraries/headers in the standard paths, not a formal package installed.

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.

Steve

On 29 June 2015 at 16:55, Hector Geraldino <Hector.Geraldino at ipsoft.com<mailto:Hector.Geraldino at ipsoft.com>> wrote:
Greetings,

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:

make[3]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod'

making all mod_amqp
make[4]: Entering directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp'
Makefile:772: *** You must install librabbitmq1 and librabbitmq-dev to build this module.  Stop.
make[4]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp'
make[3]: *** [mod_amqp-all] Error 1
make[3]: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/apps/src/freeswitch-1.4.19/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/apps/src/freeswitch-1.4.19'
make: *** [all] Error 2

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:

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
http://www.rpmfind.net/linux/rpm2html/search.php?query=librabbitmq-devel(x86-64)

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.

Has anyone been able to compile this on a redhat based distro? (fedora,rhel,centos)

Thanks all for your time

_________________________________________________________________________
Professional FreeSWITCH Consulting Services:
consulting at freeswitch.org<mailto:consulting at freeswitch.org>
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20150630/b25240ba/attachment.html 


Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list