[Freeswitch-users] [ERR] mod_spidermonkey.c:3439 Error loading ODBC, followed by ReferenceError: ODBC is not defined

Peter Olsson peter.olsson at visionutveckling.se
Wed Sep 26 12:13:20 MSD 2012


mod_spidermonkey_odbc is not a FreeSWITCH module, it's a spidermonkey submodule, so there is no need to put it in modules.conf. If you have ODBC installed when you run ./bootstrap.sh and ./configure, it will autodetect it, and build the mod_spidermonkey_odbc module. The only thing you need to do after that is to add it to spidermonkey.conf.xml.

/Peter

Från: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] För Zhenya Malyshev
Skickat: den 25 september 2012 16:26
Till: freeswitch-users at lists.freeswitch.org
Ämne: [Freeswitch-users] [ERR] mod_spidermonkey.c:3439 Error loading ODBC, followed by ReferenceError: ODBC is not defined

Hello everyone,

I am trying to resolve the issue that was discussed a few times in this user group, but by some reason recommended solutions do not work for me.

While calling MySQL using ODBC from javascript I am getting the famous [ERR] mod_spidermonkey.c:3439 Error loading ODBC, followed by ReferenceError: ODBC is not defined
I searched for it and found a perfect explanation by Michael J. and other group participants how to resolve it:

http://lists.freeswitch.org/pipermail/freeswitch-users/2008-September/006863.html
http://wiki.freeswitch.org/wiki/Mod_spidermonkey_odbc

I installed unixODBC and found <load mod_spidermonkey_odbc /> in spidermonkey.conf.xml,
but I cannot uncomment the languages/mod_spidermonkey_odbc line within the modules.conf file since there is no such line.
I tried to add it, but got the error while re-compiling. While browsing through this user group discussions I sometimes notice inaccuracy in
recommendations which are no essential for experienced users, but misleading for armatures like myself.

I would greatly appreciate if someone could clarify that languages/mod_spidermonkey_odbc in modules.conf statement.
There is only one line referencing spidermonkey and it is languages/mod_spidermonkey.

Thanks,

Eugene
!DSPAM:5061f2c932768342020278!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20120926/98d81ab0/attachment.html 


Join us at ClueCon 2011 Aug 9-11, 2011
More information about the FreeSWITCH-users mailing list