lua-users home
lua-l archive

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


I've been using the Lua All in One distribution on Windows without trouble, but I can't get it working on Linux. Following the instructions, I unpack luaaio into its own directory and type:

$lua lua.lua

What I get is:

lua: lua.lua:1: module 'lfs' not found:
        no field package.preload['lfs']
        no file './lfs.lua'
        ....

So I tried putting lfs.so and wx.so in the same directory as the executable and got:

lua: error loading module 'wx' from file './wx.so':
        ./wx.so: undefined symbol: lua_logerror
stack traceback:
        [C]: ?
        [C]: in function 'require'
        lua.lua:2: in main chunk
        [C]: ?

I've tried this with luaaio 1.9 and 2.0.