[NTG-context] .so libraries not working with LMTX

Jairo A. del Rio jairoadelrio6 at gmail.com
Fri May 1 21:46:12 CEST 2020


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.ntg.nl/pipermail/ntg-context/attachments/20200501/74f6e395/attachment.htm>


More information about the ntg-context mailing list