[luatex] MySQL driver not found from inside LuaLaTeX
Andreas Matthias
andreas.matthias at gmail.com
Wed Feb 28 16:56:41 CET 2024
<sergei.naumov at gmail.com> wrote:
>
> I tried to set a few environment variables:
>
> LUAROCKS_CPATH=/usr/lib64/lua/5.3
> LUAROCKS_PATH=/usr/share/lua/5.3
Setting environment variables doesn't work. First you have to set the
variables LUAINPUTS and CLUAINPUTS
in your texmf.cnf. Then you need luapackageloader to set the search
path correctly.
local loader = require('luapackageloader')
loader.add_lua_searchers()
If you are running texlua you have to set the program name correctly:
kpse.set_program_name('lualatex')
There was a discussion some time ago:
https://tug.org/pipermail/luatex/2021-March/007494.html
Andreas
More information about the luatex
mailing list.