From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.io/gmane.comp.tex.context/107167 Path: news.gmane.io!.POSTED.ciao.gmane.io!not-for-mail From: "Jairo A. del Rio" Newsgroups: gmane.comp.tex.context Subject: .so libraries not working with LMTX Date: Fri, 1 May 2020 14:46:12 -0500 Message-ID: Reply-To: mailing list for ConTeXt users Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============9075791613894745693==" Injection-Info: ciao.gmane.io; posting-host="ciao.gmane.io:159.69.161.202"; logging-data="28080"; mail-complaints-to="usenet@ciao.gmane.io" To: mailing list for ConTeXt users Original-X-From: ntg-context-bounces@ntg.nl Fri May 01 21:46:50 2020 Return-path: Envelope-to: gctc-ntg-context-518@m.gmane-mx.org Original-Received: from zapf.boekplan.nl ([5.39.185.232] helo=zapf.ntg.nl) by ciao.gmane.io with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1jUbcV-0007CF-Qg for gctc-ntg-context-518@m.gmane-mx.org; Fri, 01 May 2020 21:46:47 +0200 Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 89A24160B97; Fri, 1 May 2020 21:46:31 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id NJ-SdCbWhJ-8; Fri, 1 May 2020 21:46:29 +0200 (CEST) Original-Received: from zapf.ntg.nl (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id CFB6C160DCA; Fri, 1 May 2020 21:46:29 +0200 (CEST) Original-Received: from localhost (localhost [127.0.0.1]) by zapf.ntg.nl (Postfix) with ESMTP id 79134160DCA for ; Fri, 1 May 2020 21:46:28 +0200 (CEST) X-Virus-Scanned: Debian amavisd-new at zapf.boekplan.nl Original-Received: from zapf.ntg.nl ([127.0.0.1]) by localhost (zapf.ntg.nl [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id qFKW2Tzc2g9q for ; Fri, 1 May 2020 21:46:23 +0200 (CEST) Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=209.85.221.42; helo=mail-wr1-f42.google.com; envelope-from=jairoadelrio6@gmail.com; receiver= Original-Received: from mail-wr1-f42.google.com (mail-wr1-f42.google.com [209.85.221.42]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits)) (No client certificate requested) by zapf.ntg.nl (Postfix) with ESMTPS id 77D6E160B97 for ; Fri, 1 May 2020 21:46:23 +0200 (CEST) Original-Received: by mail-wr1-f42.google.com with SMTP id h9so2356929wrt.0 for ; Fri, 01 May 2020 12:46:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=9AQoes1j/Xe6HTqGE0TQpY7SkGiqWfjtj1aYRA/9OOU=; b=kS6SVnR+VGxC5jF0p1XeMAb/tYZgAwcJI8NOi+G2xGSLqM3qVgZDtkGNcs3gwj0iPZ uwrGP0stdyuMtXC+7muZV7Z19DkFx4lFSS7l3o5qPheayV7lNJoiF7pVpADKFam5wY6t eEHvMNFnLKGM0EsyWg5xkzud6L8V1uJI+n/Y1XqhpEmCChd89+GPIT3bWOXO8S9dXIw8 1V2SlQHzztuxb4gcZV+xYXA6WcrO5yJu5kuvu5Do2i3u7Et6Wq6b4qpA8GYKwCRDyJ4H rElXLagK9bl2xKyGS2d+O7PmdAoldoZWty5mhbDS0cSByRhBzs9JIgraUYWeuea9lgTC z08Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=9AQoes1j/Xe6HTqGE0TQpY7SkGiqWfjtj1aYRA/9OOU=; b=EnlaZNvhVH+lYLijU863ZvHvwlCbdOE1TYyXYSY2ROO1SG9FeZrVeG6H6zADhzh80I 2FsQkmKolUxyD1/f7vEUs24b0dVcEBRj69le4virUYFm93xSagyYY3uDtQ4Jywy9r5IK mUv4Z1YnoYpBseFvCejpbrGg6RwYpvq1OG9L2KslyHkONPgwuQT+ILUsBVLh9sgbTdXs oi82jF/jH97nQee4qiJ0nKPXJIH0vvfpV0xsKATcp2DnhgowP8B+HvBnSm/FcJCEbATf kUJEfZjQDTvc/+ZTq2d0melfd+zrgMHMjuMYioIhK6YXz4abwRU3JN9TUiSBHt2CJT3g D5Kw== X-Gm-Message-State: AGi0PuY+6H+/qjvcmDJIvoibEtxwRLW4+bSMnXpMXqf1vFEgLC/jsd4Y zm15YkEkx5ITougA52nAGmR/amsJO8C/JVKb59FwRf3/ehM= X-Google-Smtp-Source: APiQypLj4VCvTdp+NnkDH589RmRsztcogzw1yMDlKTJSQR4yio8PWXviWUCF0yhDsZYKRx4mue/8rGSmCzpk6SGqgF4= X-Received: by 2002:adf:f450:: with SMTP id f16mr5665611wrp.346.1588362382889; Fri, 01 May 2020 12:46:22 -0700 (PDT) X-BeenThere: ntg-context@ntg.nl X-Mailman-Version: 2.1.26 Precedence: list List-Id: mailing list for ConTeXt users List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: ntg-context-bounces@ntg.nl Original-Sender: "ntg-context" Xref: news.gmane.io gmane.comp.tex.context:107167 Archived-At: --===============9075791613894745693== Content-Type: multipart/alternative; boundary="0000000000009b579f05a49b6f8b" --0000000000009b579f05a49b6f8b Content-Type: text/plain; charset="UTF-8" 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. --0000000000009b579f05a49b6f8b Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
I've tried using some C libraries for Lua in LuaT= eX:
http:= //webserver2.tecgraf.puc-rio.br/~lhf/ftp/lua/

They work (b= oth LuaLaTeX and ConTeXt), but when LMTX is used, the following message app= ears (an example with MAPM):

=20

token call, ex= ecute: ...xt/tex/texmf-context/tex/context/base/mkiv/l-package.lua:325: err= or loading module 'mapm' from file './mapm.so':

./mapm.so: un= defined 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 a= dvance.

--0000000000009b579f05a49b6f8b-- --===============9075791613894745693== Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: base64 Content-Disposition: inline X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX18KSWYgeW91ciBxdWVzdGlvbiBpcyBvZiBpbnRlcmVz dCB0byBvdGhlcnMgYXMgd2VsbCwgcGxlYXNlIGFkZCBhbiBlbnRyeSB0byB0aGUgV2lraSEKCm1h aWxsaXN0IDogbnRnLWNvbnRleHRAbnRnLm5sIC8gaHR0cDovL3d3dy5udGcubmwvbWFpbG1hbi9s aXN0aW5mby9udGctY29udGV4dAp3ZWJwYWdlICA6IGh0dHA6Ly93d3cucHJhZ21hLWFkZS5ubCAv IGh0dHA6Ly9jb250ZXh0LmFhbmhldC5uZXQKYXJjaGl2ZSAgOiBodHRwczovL2JpdGJ1Y2tldC5v cmcvcGhnL2NvbnRleHQtbWlycm9yL2NvbW1pdHMvCndpa2kgICAgIDogaHR0cDovL2NvbnRleHRn YXJkZW4ubmV0Cl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCg== --===============9075791613894745693==--