Torch7 Lua, Error Loading Module 'Libpaths' (Linux)

Error loading module when using lua

You are likely using your system Lua (probably version 5.2), but Torch requires LuaJIT it comes with. Run your script as luajit test.lua (it's probably in /home/user1/torch/install/bin/luajit).

Torch test.sh, /usr/bin/lua: module 'paths' not found

Adding . ~/torch/install/bin/torch-activate in ~/.bashrc makes the test.sh script run.

Lua Error Loading Limlib2 Library even though it's already installed?

limlib2 is referencing _luaL_checkint which fails in Lua 5.3 as _luaL_checkint has been replaced by _luaL_checkinteger in Lua 5.2

_luaL_checkint is deprecated. Just google for _luaL_checkint to find plenty of workarounds.

Checkout this: Cannot make gunplot on osx yosemite. Undefined symbols

imlib2 seems to haven't been updated in over 8 years. So no wonder you're facing problems



Related Topics



Leave a reply



Submit