[luatex] Using a Lua C .so module with LuaLaTeX

Deepak Jois deepak.jois at gmail.com
Tue Nov 17 14:34:02 CET 2015


On Tue, Nov 17, 2015 at 6:20 PM, Mojca Miklavec
<mojca.miklavec.lists at gmail.com> wrote:
> Just to make it perfectly clear about what luatex-stripped is exactly,
> can you please do another simple report:
>
>     cp luatex-nostrip luatex-strip1
>     cp luatex-nostrip luatex-strip2
>     strip luatex-strip1
>     strip -r -u luatex-strip2
>     ls -l
>

No difference in size (I checked their MD5 values, they are different
files, for sure)

$> ls -al
12938864 luatex-strip1
12938864 luatex-strip2

The files are different
$> md5 luatex-strip1
MD5 (luatex-strip1) = a92f273967a66966eaad1f924f4f86a0

$> md5 luatex-strip2
MD5 (luatex-strip2) = 1c0ae92dae4e7d5d7a27a9ef6804c677


And _definitely_ a difference in behavior

$> ~/code/personal/luatex/v-0.80/bin/luatex-strip1 --luaonly test.lua
error loading module 'harfbuzz' from file './harfbuzz.so':
        dlopen(./harfbuzz.so, 6): Symbol not found: _luaL_setfuncs
  Referenced from: ./harfbuzz.so
  Expected in: flat namespace
 in ./harfbuzz.so


$> ~/code/personal/luatex/v-0.80/bin/luatex-strip2 --luaonly test.lua
Deepak

Regards
Deepak


More information about the luatex mailing list