|
Hello everyone,
Install LPeg by luarocks
/usr/local/share/vis/vis.lua:108: error loading module 'lpeg' from file '/usr/local/lib/lua/5.4/lpeg.so':
/usr/local/lib/lua/5.4/lpeg.so: undefined symbol: lua_gettop
undefined symbol: lua_gettop
Centos:7
Lua:5.4
Luarocks:3.0.4
Lpeg:1.0.2
vis:0.6
vis.lua is this file https://github.com/martanne/vis/blob/master/lua/vis.lua
Also tried install LPeg by compile but got the same problem and LPeg test return OK
Where is the problem? Vis editor author think it's LPeg and Lua problem not the editor, but I have no idea.
Thanks!