Pergunta

I'm using the lua interpreter and I'm trying to load LuaXML but when I require('LuaXML'), I get this error.

lua: error loading module 'LuaXML' from file './LuaXML_lib.so':
    ./LuaXML_lib.so: undefined symbol: luaL_prepbuffer

I have no clue how to fix this. I tried compiling the module myself but it still throws the error.

Foi útil?

Solução

This is because you are trying to use LuaXML under Lua 5.2.
LuaXML was designed for Lua 5.1.
The problem can be solved by installing Lua 5.1.x or LuaJIT.

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top