You seem to be totally right: C-based libraries are not supported by static-built pandoc binaries(e.g. deb file)
I agree that setting LUA_PATH/LUA_CPATH is also preferred.
I will use lua-yaml instead of lyaml package. lfs cannot be used in this case but as penlight package requires it, I will leave it installed(and unused).
Thanks for the advice.