[luatex] Using a Lua C .so module with LuaLaTeX
luigi.scarso at gmail.com
Tue Nov 17 10:23:24 CET 2015
On Tue, Nov 17, 2015 at 10:17 AM, Deepak Jois <deepak.jois at gmail.com> wrote:
> On Tue, Nov 17, 2015 at 1:42 PM, luigi scarso <luigi.scarso at gmail.com>
> > No, the texlive is ok, but unfortunately the 0.85 breaks compatibility.
> > So you should wait until things are updated, or just use your compiled
> > version.
> > The current TL uses 0.80.0, and you can find the source at
> > https://foundry.supelec.fr/scm/viewvc.php/tags/beta-0.80.0/?root=luatex
> > You should have no problem to compile it and replace the standard binary
> > TL
> > (and rebuild the formats, to be sure).
> Thank you. I checked out v0.80, compiled luatex with --nostrip option,
> copied the luatex binary to my TeXLive distribution, rebuilt the
> formats (with fmtutil --byengine luatex), and everything worked after
> I definitely had to rebuild the formats to get it working. (otherwise
> it gave me the dreaded “I’m stymied error”)
> > If it works for you , can you try
> > strip -u -r luatex
> > as reported by Tantau at
> > http://tracker.luatex.org/view.php?id=555 ?
> I copied over the binary to another file called luatex-stripped and
> ran strip -u -r on that. Both copies seem to load the shared library
> just fine. Here are the results:
> $> cp luatex luatex-stripped
> $> nm luatex | wc -l
> $> strip -u -r luatex-stripped
> $> nm luatex-stripped | wc -l
> $> ~/code/personal/luatex/v-0.80/bin/luatex --luaonly test.lua
> $> ~/code/personal/luatex/v-0.80/bin/luatex-stripped --luaonly test.lua
> So I guess it is an option to use strip -u -r luatex
Ok, good. What is the difference in bytes of the two binaries ?
Mac OS X bundles (only for Lua 5.1.0 - Lua 5.1.2)
there is a note on unloading modules. Are you able to check it ?
It seems that there is not that problem here.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the luatex