Molio-tan commented on issue #5571:
URL: https://github.com/apache/apisix/issues/5571#issuecomment-976105671


   > You may need to pass your own `ENV_OPENSSL_PREFIX` during `make deps`, so 
that luarocks can find your GmSSL. See
   > 
   > 
https://github.com/apache/apisix/blob/2a32f13824c0cc8e359feedd23e537422af3b28c/Makefile#L154-L155
   
   I tried it with your solution but failed. I directly modify 
`apisix/Makefile` 
   ```
                   $(ENV_LUAROCKS) config $(ENV_LUAROCKS_FLAG_LOCAL) 
variables.OPENSSL_LIBDIR /usr/local/gmssl/lib; \
                   $(ENV_LUAROCKS) config $(ENV_LUAROCKS_FLAG_LOCAL) 
variables.OPENSSL_INCDIR /usr/local/gmssl/include; \
   ```
   and execute `rm deps -rf; make deps`.It works well but failed again with the 
same problem when starts.
   
![image](https://user-images.githubusercontent.com/31587573/142962147-415418f5-66e4-4574-a659-2e9be80e060f.png)
   
   I find the configs with `luarocks config` looks like correct:
   
![image](https://user-images.githubusercontent.com/31587573/142962268-e4d25206-6fa9-4f0f-8e35-c9526f4475b0.png)
   
   Is there problem with the gmssl?


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