You can not just copy the .so file from the directory it is just a pointer file to the real .so ... You should always use the make install target or make {module_name}-install target to get it properly installed



From: Juan Backson <juanbackson@gmail.com>
Reply-To: <freeswitch-users@lists.freeswitch.org>
Date: Thu, 27 Aug 2009 16:56:09 +0800
To: <freeswitch-users@lists.freeswitch.org>
Subject: [Freeswitch-users] need help with mod_xml_odbc

Hi,

I tried to make install mod_xml_odbc and load it in freeswitch, but I am getting:

2009-08-28 00:46:55.848087 [CRIT] switch_loadable_module.c:871 Error Loading module /usr/local/freeswitch/mod/mod_xml_odbc.so
**/usr/local/freeswitch/mod/mod_xml_odbc.so: invalid ELF header**

I had to manually copy the .so file from the mod_xml_odbc dir to /usr/local/freeswitch/mod

Does anyone know what is wrong?

Thanks,
JB


_______________________________________________
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