[Freeswitch-users] Load mod_odbc_query error
FERNANDO VILLARROEL
fvillarroel at yahoo.com
Fri Apr 29 02:43:43 MSD 2011
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.
More information about the FreeSWITCH-users
mailing list