Hi Ju,
I am using a VM running Centos 8. It comes with Lua_5.1.4 as default. I am able to build Suricata linking to this Lua_5.1.4. Please see below.
ldd /usr/bin/suricata | grep lua
liblua-5.1.so => /usr/lib64/liblua-5.1.so (0x00007fb50469e000)
But, when I tried to rebuild the Suricata linking to Lua_5.4.3, there were a lot of undefined reference errors returning as mention before.
I am wondering whether or not Suricata supports this latest Lua version.
thanks