How to fix Ubuntu ./configure error: lua not found
Problem:
When you run ./configure while trying to build some software, you see an error message like
configure_error.txt
checking for lua >= 5.1... no
configure: error: lua not foundSolution
Install a recent Lua version including the development files. First try:
install_liblua.sh
sudo apt -y install liblua5.4-devif that package can’t be found, try
install_liblua_5_3.sh
sudo apt -y install liblua5.3-devand go on trying liblua5.2-dev, liblua5.1-dev or liblua5.0-dev. Which version will work depends on your Ubuntu version.
Check out similar posts by category:
Linux
If this post helped you, please consider buying me a coffee or donating via PayPal to support research & publishing of new posts on TechOverflow