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@lists.freeswitch.org> on behalf of Steven Ayre <steveayre@gmail.com>
Reply-To: FreeSWITCH Users Help <freeswitch-users@lists.freeswitch.org>
Date: Monday, June 29, 2015 at 4:54 PM
To: FreeSWITCH Users Help <freeswitch-users@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@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:


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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org