<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Nov 16, 2015 at 2:01 PM, luigi scarso <span dir="ltr"><<a href="mailto:luigi.scarso@gmail.com" target="_blank">luigi.scarso@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote"><span class="">On Mon, Nov 16, 2015 at 1:13 PM, Deepak Jois <span dir="ltr"><<a href="mailto:deepak.jois@gmail.com" target="_blank">deepak.jois@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">To narrow down the problem, I used the --luaonly option to run a test<br>
lua file with luatex that loads the library. When I run:<br>
<br>
luatex --luaonly test.lua<br>
<br>
It gives me the error: Symbol not found: _luaL_setfuncs<br>
<br>
Then, I built a fresh luatex binary from SVN using --nostrip option,<br>
and ran the same thing, and it works fine.<br>
<br>
I then tried to copy the freshly built luatex binary into TeXLive, and<br>
ran fmtutil --all, but it gave me an error saying \pdfoutput was an<br>
undefined control sequence.<br>
<br></blockquote><div> </div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">
So now I am wondering:<br>
<br>
1. Why does the luatex binary built from SVN with --nostrip work, and<br>
the luatex binary bundled with TeXLive does not work when using in<br>
--luaonly mode. Is that intentional? On StackExchange[1] there are<br>
people on Linux who report that it working fine with TeXLive 2015 as<br>
well. What is different about Mac OS X?<br>
<br></blockquote><div><br></div></span><div>I will check your code later under Linux.</div></div></div></div></blockquote><div><br></div><div><br></div><div>with latest luatex underl linux</div><div> <br></div></div><div><div><br></div><div>CC=gcc</div><div>L=$SVN/trunk/source/libs/lua52/lua-5.2.4/src</div><div>rm -rf *.o *.la *.lo .libs/</div><div>$CC -O2 -fpic -I$L -c harfbuzz.c</div><div>$CC -O -shared -fpic -o harfbuzz.so harfbuzz.o</div><div>$SVN/bin/luatex -luaonly test.lua<br><br></div></div><div>gives<br>Deepak<br></div><div><br></div><div><br></div><div><br></div><div><br></div>-- <br><div class="gmail_signature">luigi<br></div>
</div></div>