checking for lua support... yes, shared
checking to specify a custom lua version... yes, shared
checking to specify a custom lua version... yes, shared
checking for lua in default path... found in /usr/local
checking for lua library in default path... not found
configure: error: Please reinstall the lua distribution - lua library should be in <lua-dir>/lib/
ERROR: `/private/tmp/pear/temp/lua/configure --with-php-config=/usr/local/opt/php/bin/php-config' failed
I have installed lua with homebrew brew install lua it is available in version 5.3.5
Lua is available at /usr/local/include/lua/lua.h
~ $ cd /usr/local/include/lua
lua $ ls -l
total 120
-rw-r--r-- 1 marvin staff 8632 26 Jun 2018 lauxlib.h
-rw-r--r-- 1 marvin staff 14837 26 Jun 2018 lua.h
-rw-r--r-- 1 marvin staff 191 26 Jun 2018 lua.hpp
-rw-r--r-- 1 marvin staff 21644 8 Jun 23:35 luaconf.h
-rw-r--r-- 1 marvin staff 1305 26 Jun 2018 lualib.h
I get this error when trying to install:
I have installed lua with homebrew
brew install lua
it is available in version 5.3.5Lua is available at /usr/local/include/lua/lua.h
And library at /usr/local/lib/liblua.dylib
PHP Version 7.3.4 and Mac OS Version 10.14.4