On 10/24/2026 10:24 PM, via ntg-context wrote:
Hi,

With ConTeXt LMTX 2026.10.23 on Linux, the following minimal example fails:

\starttext
\startluacode
assert(type(os.libsuffix) == "string")
\stopluacode
\stoptext

In tex/context/base/mkxl/l-os.lmt, the Linux branch contains:

os.libsuffix = "so"
os.libsuffix = ""
os.libsuffix = { "" }

I suspect the last two assignments should be:

os.binsuffix   = ""
os.binsuffixes = { "" }

The same issue exists in the macOS branch.

This also causes require() to fail with attempt to concatenate a table value 
(local 'suffix').

I tested the correction locally, rebuilt the format, and both the minimal 
example and require() worked.

indeed

Hans (who actually never loads libs so didn't test that bit)


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
       tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : [email protected] / 
https://mailman.ntg.nl/mailman3/lists/ntg-context.ntg.nl
webpage  : https://www.pragma-ade.nl / https://context.aanhet.net (mirror)
archive  : https://github.com/contextgarden/context
wiki     : https://wiki.contextgarden.net
___________________________________________________________________________________

Reply via email to