[Freeswitch-users] Load mod_odbc_query error SOLVED

FERNANDO VILLARROEL fvillarroel at yahoo.com
Fri Apr 29 04:42:50 MSD 2011


Thank You Ken

--- On Thu, 4/28/11, Ken Rice <krice at freeswitch.org> wrote:

> From: Ken Rice <krice at freeswitch.org>
> Subject: Re: [Freeswitch-users] Load mod_odbc_query error
> To: "FreeSWITCH Users Help" <freeswitch-users at lists.freeswitch.org>
> Date: Thursday, April 28, 2011, 7:53 PM
> >From your mod_odbc_query
> directory do a make install.
> 
> The .so file you cp'd out is actually a special text file
> for running FS in
> developer debug mode from the source tree
> 
> K
> 
> 
> On 4/28/11 5:43 PM, "FERNANDO VILLARROEL" <fvillarroel at yahoo.com>
> wrote:
> 
> > Hi all.
> > 
> > I getting mod_odbc_query from contrib.
> > 
> > My FS Version:
> > 
> > FreeSWITCH Version 1.0.head (git-496fd5d 2011-04-10
> 23-16-56 +0200)
> > 
> > But when i load the module i get the follow error:
> > 
> > freeswitch at internal> load mod_odbc_query
> > +OK Reloading XML
> > -ERR [module load file routine returned an error]
> > 
> > freeswitch at internal> 2011-04-28 18:41:22.665848
> [INFO] mod_enum.c:755 ENUM
> > Reloaded
> > 2011-04-28 18:41:22.665848 [CRIT]
> switch_loadable_module.c:928 Error Loading
> > module /usr/local/freeswitch/mod/mod_odbc_query.so
> > **/usr/local/freeswitch/mod/mod_odbc_query.so: invalid
> ELF header**
> > 2011-04-28 18:41:22.665848 [INFO] switch_time.c:999
> Timezone reloaded 530
> > definitions
> > 
> > 
> > My steps are:
> > 
> > mkdir /tmp/fs
> > cd /tmp/fs
> > git clone
> git://git.freeswitch.org/freeswitch-contrib.git
> > cd freeswitch-contrib/ledr/c/
> > mv mod_odbc_query/
> /usr/src/freeswitch/src/mod/xml_int
> > cd /usr/src/freeswitch/src/mod/xml_in/mod_odbc_query
> > make
> > cp mod_odbc_query.so /usr/local/freeswitch/mod/
> > cp odbc_query.conf.xml
> /usr/local/freeswitch/conf/autoload_config
> > 
> > What are doing wrong?
> > 
> > Regards.
> > 
> > _______________________________________________
> > 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
> 
> 
> 
> _______________________________________________
> 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
> 



More information about the FreeSWITCH-users mailing list