I've tried using some C libraries for Lua in LuaTeX: http://webserver2.tecgraf.puc-rio.br/~lhf/ftp/lua/ They work (both LuaLaTeX and ConTeXt), but when LMTX is used, the following message appears (an example with MAPM): token call, execute: ...xt/tex/texmf-context/tex/context/base/mkiv/l-package.lua:325: error loading module 'mapm' from file './mapm.so': ./mapm.so: undefined symbol: lua_settop I've compiled both with Lua 5.3.5 and Lua 5.4.0 (rc1 and rc2) and both work successfully for test.lua (command line). However, they just don't work with LMTX. Is this a bug or feature of LMTX? Thank you in advance.