LuaFileSystem with Love2D
Posted: Wed Oct 29, 2014 8:19 pm
Hey I installed LuaFileSystem using LuaRocks and Love2D couldn't find the library.
The lfs.so file was in lua 5.2. I moved it to lua 5.1 so it could find it. Now I get a separate error:
Thanks,
Gan
The lfs.so file was in lua 5.2. I moved it to lua 5.1 so it could find it. Now I get a separate error:
Is there a way to fix this?Error: error loading module 'lfs' from file '/usr/local/lib/lua/5.1/lfs.so':
dlopen(/usr/local/lib/lua/5.1/lfs.so, 6): Symbol not found: _luaL_setfuncs
Referenced from: /usr/local/lib/lua/5.1/lfs.so
Expected in: dynamic lookup
stack traceback:
[C]: at 0x7fff04caa140
[C]: in function 'require'
//IOController/IOController.lua:4: in main chunk
[C]: in function 'require'
Game.lua:5: in main chunk
[C]: in function 'require'
main.lua:2: in main chunk
[C]: in function 'require'
[string "boot.lua"]60: in function <[string "boot.lua"]:241>
[C]: in function 'xpcall'
Thanks,
Gan