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
_______________________________________________
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

Reply via email to