Luarocks modules in luafilter

Is it possible to use modules downloaded from luarocks in a luafilter? So far I've been met with the following error when using such modules.

[luafilter] Failed to execute global script at '/etc/my_global_script.lua':error loading module 'lcurl' from file '/usr/local/lib/lua/5.3/lcurl.so'
/usr/local/lib/lua/5.3/lcurl.so: undefined symbol: lua_checkstack.

Thanks

Answer Answered by Markus Mäkelä in this comment.

It should be possible to use luarocks with luafilter. That problem looks like it might be with the library itself.

Comments

Comments loading...
Content reproduced on this site is the property of its respective owners, and this content is not reviewed in advance by MariaDB. The views, information and opinions expressed by this content do not necessarily represent those of MariaDB or any other party.