<p dir="ltr"></p>
<p dir="ltr">Il 29/ago/2016 14:23, "Konstantin Schukraft" <<a href="mailto:konstantin@schukraft.org">konstantin@schukraft.org</a>> ha scritto:<br>
><br>
> Hi everyone,<br>
><br>
> I'm trying to install additional packages to the lua interpreter within<br>
> luatex. After an odyssey of google'ing with about a dozen different<br>
> suggestions on how to achieve adding external libraries (or part<br>
> thereof), most are way too complicated for my taste, mangling tex<br>
> internals etc., and having had partial success at best with this topic I<br>
> come here to ask:<br>
> why isn't there something comparatively easy like a "luatex-luarocks"<br>
> for installing third-party libraries? Would that be problematic to<br>
> implement or has just no one had the time to do something like it yet?<br>
><br>
> Specifically, I tried to install a postgres driver, either<br>
> luasql.postgres (a .so compiled for the system lua 5.2), or pgmoon. I<br>
> can't manage to get either working. I won't flood the list with all<br>
> possible error messages from the different ways I tried to achieve this.<br>
> I'd just like to know: has anyone done this successfully?<br>
><br>
> In my search I also came across the Lua section in the handbook, reading<br>
> about the texconfig.kpse_init option, which would preserve the regular<br>
> lua searcher/loader. Unfortunately, setting it to false in the lua init<br>
> file as suggested results in a core dump with the 0.80.0 version<br>
> installed via the OS package manager (I'm on FreeBSD 10.3). I can<br>
> reproduce this core dump with the 0.95.0 version I downloaded and<br>
> compiled myself. Setting it to true doesn't cause a core dump.<br>
><br>
><br>
> Thank you very much,<br>
><br>
> Konstantin<br>
></p>
<p dir="ltr">Can you give us a test file thame makes a cord dump? (via private email, if you want)</p>
<p dir="ltr">--<br>
luigi</p>