Chever-John edited a comment on issue #4945:
URL: https://github.com/apache/apisix/issues/4945#issuecomment-1049640371


   I just solved the problem.
   The first thing you need to know is that `brew`'s location in M1 Macos has 
been changed and is currently in `/opt/homebrew/cellar/`. 
   So you should configure your files like this:
   ```
   cheverjohn@Johns-MacBook-Pro apisix % cat ~/.luarocks/config-5.1.lua
   variables = {
      LDAP_DIR = "/opt/homebrew/cellar/openldap/2.6.1",
      LDAP_INCDIR = "/opt/homebrew/cellar/openldap/2.6.1/include",
      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"
   }
   ```
   
   Then it works!
   Thinks for @tzssangglass 's idea!
   (https://github.com/apache/apisix/issues/6068#issuecomment-1009516315)


-- 
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