[Date Prev][Date Next][Thread Prev][Thread Next]
- Subject: Re: Lpeg load error: undefined symbol: lua_gettop
- From: Andrew Gierth <andrew@...>
- Date: Mon, 07 Dec 2020 08:20:26 +0000
>>>>> "Ricky" == Ricky Wu <firstname.lastname@example.org> writes:
Ricky> /usr/local/share/vis/vis.lua:108: error loading module 'lpeg' from file
Ricky> /usr/local/lib/lua/5.4/lpeg.so: undefined symbol: lua_gettop
Ricky> undefined symbol: lua_gettop
Ricky> Where is the problem? Vis editor author think it's LPeg and Lua
Ricky> problem not the editor, but I have no idea.
vis is the actual executable here? what command was used to link the vis
executable? what is the output of these commands (fill in the path for
the vis executable as needed):
nm -D vis
If vis was linked against a static lua library and someone forgot the
-Wl,--export-dynamic (or equivalent), that would explain this problem.