# Lua-5.4.3 and Suricata undefined reference error

**URL:** <https://forum.suricata.io/t/lua-5-4-3-and-suricata-undefined-reference-error/1906>\
**Category:** Help\
**Tags:** lua\
**Created:** [November 7, 2021, 5:46pm UTC](https://forum.suricata.io/t/lua-5-4-3-and-suricata-undefined-reference-error/1906 "2021-11-07T17:46:33Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![Victor](https://avatars.discourse-cdn.com/v4/letter/v/3e96dc/32.png) [@Victor](https://forum.suricata.io/u/Victor)\
**Post date:** [November 9, 2021, 10:38pm UTC](https://forum.suricata.io/t/lua-5-4-3-and-suricata-undefined-reference-error/1906/5 "2021-11-09T22:38:16Z")

</div>

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

---

_[View the full topic](https://forum.suricata.io/t/lua-5-4-3-and-suricata-undefined-reference-error/1906)._
