[Freeswitch-users] mod_amqp on RHEL

William King william.king at quentustech.com
Tue Jun 30 02:25:04 MSD 2015


You would need to rerun configure to detect the changes to the now
installed librabbitmq libraries.

William King
Senior Engineer
Quentus Technologies, INC
1037 NE 65th St Suite 273
Seattle, WA 98115
Main:   (877) 211-9337
Office: (206) 388-4772
Cell:   (253) 686-5518
william.king at quentustech.com

On 6/29/15 2:13 PM, Hector Geraldino wrote:
> Thanks William, Mike
> 
> Here¹s what I tried:
> 1- downloaded rabbitmq=c sources, run cmake install, export directories to
> both PATH and LD_LIBRARY_PATH env vars, run make on freeswitch sources,
> got same error.
> 2- tried with autoconfig, make && make install on the rabbitmq-c sources,
> same thing with PATH and LD_LIBRARY_PATH and same result.
> 3- finally, downloaded the .deb packages, ran alien -r *deb to generate
> RPMs, copied the RPMs from the ubuntu box to the RHEL server, ran rpm -Uvh
> packages.rpm, installation went through but still got the same error on
> the mod_amqp module:
> 
> # rpm -Uvh librabbitmq1-0.5.2-3.x86_64.rpm
> Preparing...                ###########################################
> [100%]
>    1:librabbitmq1           ###########################################
> [100%]
> 
> # rpm -Uvh librabbitmq-dev-0.5.2-3.x86_64.rpm
> Preparing...                ###########################################
> [100%]
>    1:librabbitmq-dev        ###########################################
> [100%]
> 
> # rpm -qa | grep rabbit
> librabbitmq1-0.5.2-3.x86_64
> librabbitmq-dev-0.5.2-3.x86_64
> 
> 
> 
> 
> # make
> make  all-recursive
> make[1]: Entering directory `/apps/src/freeswitch-1.4.19'
> Making all in .
> make[2]: Entering directory `/apps/src/freeswitch-1.4.19'
> make[2]: Leaving directory `/apps/src/freeswitch-1.4.19'
> Making all in src
> make[2]: Entering directory `/apps/src/freeswitch-1.4.19/src'
> Making all in mod
> 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
> 
> 
> 
> My guess is that I should follow Mike¹s advice and initiate the request
> process to have this added to the EPEL, but that¹s a long, convoluted
> process and I don¹t have either the expertise/familiarity with RHEL
> ecosystem to own this. I guess I can always spin a parallel VM (or
> FreeSWITCH running on docker or something) and route the SIP/RTP traffic
> to that instance. Due to policies I cannot change I must stick with RHEL
> OS for all current and future deployments.
> 
> Thanks guys for your help
> 
>  
> 
> On 6/29/15, 4:03 PM, "freeswitch-users-bounces at lists.freeswitch.org on
> behalf of Michael Jerris" <freeswitch-users-bounces at lists.freeswitch.org
> on behalf of mike at jerris.com> wrote:
> 
>> The best case is you can work with your distro to get packages made for
>> that distro.  I suggest that as the first step is to go through their
>> process for getting a package added.
>>
>>
>>> On Jun 29, 2015, at 3:54 PM, William King
>>> <william.king at quentustech.com> wrote:
>>>
>>> There do not appear to be any packages for the client libraries required
>>> for that system. The Debian packages are build from this git repo:
>>>
>>> https://github.com/alanxz/rabbitmq-c
>>>
>>> If you do get it installed and working, can you reply here with the
>>> steps?
>>>
>>> William King
>>> Senior Engineer
>>> Quentus Technologies, INC
>>> 1037 NE 65th St Suite 273
>>> Seattle, WA 98115
>>> Main:   (877) 211-9337
>>> Office: (206) 388-4772
>>> Cell:   (253) 686-5518
>>> william.king at quentustech.com
>>>
>>> On 6/29/15 8:55 AM, Hector Geraldino 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
>>>> 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
>>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>>>
>>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>>> http://www.freeswitch.org
>>>>
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> 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
>>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>>> http://www.freeswitch.org
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> 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
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
> 
> 
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services: 
> 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
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
> 



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