[Freeswitch-users] mod_amqp on RHEL
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.
On 29 June 2015 at 16:55, Hector Geraldino <Hector.Geraldino at ipsoft.com<mailto:Hector.Geraldino at ipsoft.com>> wrote:
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: Entering directory `/apps/src/freeswitch-1.4.19/src/mod'
making all mod_amqp
make: 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: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod/event_handlers/mod_amqp'
make: *** [mod_amqp-all] Error 1
make: Leaving directory `/apps/src/freeswitch-1.4.19/src/mod'
make: *** [all-recursive] Error 1
make: Leaving directory `/apps/src/freeswitch-1.4.19/src'
make: *** [all-recursive] Error 1
make: 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:
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>
Official FreeSWITCH Sites
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org<mailto:FreeSWITCH-users at lists.freeswitch.org>
-------------- next part --------------
An HTML attachment was scrubbed...
Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users