lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Hi,

I am getting the following error when starting a lua script with the require "luasql" line.

Does anyone have any idea what is wrong?

 

2008-09-24 20:02:20 [ERR] mod_lua.cpp:177 lua_parse_and_execute() error loading module 'luasql.mysql' from file '/usr/local/lib/lua/5.1/luasql/mysql.so':
        /usr/local/lib/lua/5.1/luasql/mysql.so: undefined symbol: lua_getfield
stack traceback:
        [C]: ?
        [C]: in function 'require'
        /usr/local/share/lua/5.1/lualib.lua:1: in main chunk
        [C]: in function 'require'
        /usr/local/freeswitch/scripts/process_pstn_call.lua:1: in main chunk



Thanks alot for your help.


JB