How do I install lua dev libraries on MacOS?

1.4k Views Asked by At

I need to install liblua5.3-dev for compiling a code project called Domoticz. I tried using 'brew' and 'luarocks' but it seems it doesn't provide me the development libraries but only a runtime/interpretor. How do I install liblua5.3-dev on macOS (Catalina)?

1

There are 1 best solutions below

1
On

You should just try the official way:

curl -R -O http://www.lua.org/ftp/lua-5.3.5.tar.gz
tar zxf lua-5.3.5.tar.gz
cd lua-5.3.5
make macosx test