On Mon, Mar 16, 2015 at 2:17 PM, Dirk Laurie <[email protected]> wrote:
> 2015-03-16 13:25 GMT+02:00 luigi scarso <[email protected]>: > > > This works, > > assuming Linux, > > a core.so in > > ../resources/lib64/ > > and funcname luaopen_core > > Thanks, it solves my problem. (And I _really_ am grateful, > despite the next sentence.) > > But how much nicer would it not have been if LuaTeX could simply > search for .so and .dll files containing Lua modules in say > $HOME/texmf/scripts/clua. > dso are until now still something to take with care with TeX because they tightly depend on the underlying OS, something that we try to avoid. For example, it's better that the location and dependencies of dso r are resolved in the context of a tds tree, because otherwise we are lost. And of course a format should not see these differences at all. For this reasons ConTeXt has its own loader swiglib but LaTeX can have his own as well probably based on kpathsea. -- luigi
