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

Aditya Mahajan adityam at umich.edu
Fri May 1 21:58:07 CEST 2020


On Fri, 1 May 2020, Jairo A. del Rio wrote:

> 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 believe that the luametatex binary is stripped, so there any unused symbol
is removed.

Aditya


More information about the ntg-context mailing list