tzssangglass commented on issue #4945:
URL: https://github.com/apache/apisix/issues/4945#issuecomment-909850338


   after `brew install pcre`, I do something ad below
   
   1. find the `pcre` install dir, on Mac M1, usually in 
`/opt/homebrew/Cellar/pcre/8.45/`
   2. modify the `~/.luarocks/config-5.1.lua` as 
   
   ```
   lua_interpreter = "luajit"
   variables = {
      OPENSSL_INCDIR = "/opt/homebrew/opt/openresty-openssl111/include",
      OPENSSL_LIBDIR = "/opt/homebrew/opt/openresty-openssl111/lib",
      PCRE_DIR = "/opt/homebrew/Cellar/pcre/8.45",
      PCRE_INCDIR = "/opt/homebrew/Cellar/pcre/8.45/include"
   }
   ```
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to