You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I just installed luasql-mysql through luarocks-5.4. Using it under luatex (texlive2022) generates an error:
error loading module 'luasql.mysql' from file '/usr/lib64/lua/5.4/luasql/mysql.
so':
/usr/lib64/lua/5.4/luasql/mysql.so: undefined symbol: lua_newuserdatauv
stack traceback:
[C]: in ?
[C]: in local 'f'
...e/texmf-dist/tex/luatex/lualibs/lualibs-basic-merged.lua:398: in local 'loo
kup'
...e/texmf-dist/tex/luatex/lualibs/lualibs-basic-merged.lua:429: in function <
...e/texmf-dist/tex/luatex/lualibs/lualibs-basic-merged.lua:419>
[C]: in function 'require'
dbd3.lua:6: in main chunk
[\directlua]:1: in main chunk.
l.48 }
Executing the same code from lua-5.4 command line works fine. But looking at the modules in mysql.so truly gives quite a few unknown symbols:
U luaL_error
U luaL_newmetatable
U luaL_optinteger
U luaL_optlstring
U luaL_ref
U luaL_setfuncs
U luaL_unref
U lua_newuserdatauv
0000000000003cf0 T luaopen_luasql_mysql
What might be the mistake I make? It worked perfectly under Lua-5.3 with texlive2021...
The text was updated successfully, but these errors were encountered:
Hi!
I just installed luasql-mysql through luarocks-5.4. Using it under luatex (texlive2022) generates an error:
error loading module 'luasql.mysql' from file '/usr/lib64/lua/5.4/luasql/mysql.
so':
Executing the same code from lua-5.4 command line works fine. But looking at the modules in mysql.so truly gives quite a few unknown symbols:
What might be the mistake I make? It worked perfectly under Lua-5.3 with texlive2021...
The text was updated successfully, but these errors were encountered: