[Freeswitch-users] luasql

Luis Jimenez ljjimenez at gmail.com
Fri May 9 18:17:46 PDT 2008


Hi i installed lua and luasql, and i did test from cli with access to mysql,
it works fine.

But when i run the script from FS i get the following erro:



2008-05-09 21:03:01 [ERR] mod_lua.cpp:169 lua_parse_and_execute()
/opt/freeswitch/scripts/set_called_group.lua:1: 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 '/usr/local/lib/lua/5.1/luasql/mysql.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
        no file './luasql.so'
        no file '/usr/local/lib/lua/5.1/luasql.so'
        no file '/usr/local/lib/lua/5.1/loadall.so'
stack traceback:
        [C]: in function 'require'
        /opt/freeswitch/scripts/set_called_group.lua:1: in main chunk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20080509/44df4a60/attachment-0002.html 


More information about the FreeSWITCH-users mailing list