[Freeswitch-users] lua mysql module not found
Joli Martinez
mrjoli021 at gmail.com
Mon Dec 9 23:47:09 MSK 2013
Hello,
I have an Lua script that reads from a mysql DB. The script when ran alone works correctly, but when running inside freeswitch it says that the mysql module is not found. see error below.
2013-12-09 12:43:14.873414 [ERR] mod_lua.cpp:199 /usr/local/freeswitch/scripts/callerID.lua:6: module 'luasql.mysql' not found:
no field package.preload['luasql.mysql']
no file './luasql/mysql.lua'
no file '/usr/local/share/lua/5.1/luasql/mysql.lua'
no file '/usr/local/share/lua/5.1/luasql/mysql/init.lua'
no file '/usr/local/lib/lua/5.1/luasql/mysql.lua'
no file '/usr/local/lib/lua/5.1/luasql/mysql/init.lua'
no file './luasql/mysql.so'
no file './libluasql/mysql51.so'
no file '/usr/local/lib/lua/5.1/luasql/mysql.so'
no file '/usr/local/lib/lua/5.1/libluasql/mysql51.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file './luasql.so'
no file './libluasql51.so'
no file '/usr/local/lib/lua/5.1/luasql.so'
no file '/usr/local/lib/lua/5.1/libluasql51.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
[C]: in function 'require'
/usr/local/freeswitch/scripts/callerID.lua:6: in main chunk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20131209/2d1e4636/attachment.html
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list