Closed cconcannon closed 3 years ago
_lua_newuserdata
is a symbol that belongs to Lua not Lrexlib.
May be rex_pcre.so was somehow incorrectly built?
@rrthomas , you're on Linux, does rex_pcre.so work for you with Lua 5.3?
Yes, works fine for me with 5.3. Something is not properly linked. On my system, the symbol is in the Lua binary (I use the default PUC-Rio build where the lua binary is linked statically to liblua):
$ nm lua5.3|grep newuserdata
000000000000a9e0 T lua_newuserdata
I'm trying to install lrexlib-pcre as a dependency of the LuaRocks jsonschema module. When I try to require the jsonschema package in my
.lua
file, an error results when trying to loadrex_pcre.so
:Any help would be appreciated. I saw in prior issues that it is recommended to check the installation on it's own with
lua -lrex_pcre
- this results in the exact same error as above.