I have installed torch in ubuntu 18.04 with Lua 5.2.
When I ran test.sh after installation I get the following error:
torch loaded succesfully
./test.sh: line 16: 17239 Segmentation fault (core dumped) $LUA -ltorch -e "print('torch loaded succesfully')"
Can you share the solution for this?