yuhaizr commented on issue #4594:
URL: https://github.com/apache/apisix/issues/4594#issuecomment-879843055


   > 
   > 
   > You can try the following steps:
   > 
   >     1. rm -rf /apisix-path/deps
   > 
   >     2. Recompile and install `luarocks` and specify the `luajit` header 
file directory, for example: `./configure 
--with-lua-include=/openresty-path/luajit/include/luajit-2.1`
   > 
   >     3. Enter the apisix directory and re-execute `make deps` to install 
dependencies
   
   我安装你的方法做了之后,上面的问题解决了,然后又出现了新的问题:
   
   ./bin/apisix init
   /usr/local/openresty/luajit/bin/luajit ./apisix/cli/apisix.lua init
   /usr/local/openresty/luajit/bin/luajit: error loading module 'ssl.core' from 
file '/usr/local/apisix-2.7/deps/lib/lua/5.1/ssl.so':
           /usr/local/apisix-2.7/deps/lib/lua/5.1/ssl.so: undefined symbol: 
SSL_CTX_set1_curves_list
   stack traceback:
           [C]: at 0x00452d70
           [C]: in function 'require'
           /usr/local/apisix-2.7/deps/share/lua/5.1/ssl.lua:8: in main chunk
           [C]: in function 'require'
           /usr/local/apisix-2.7/deps/share/lua/5.1/ssl/https.lua:10: in main 
chunk
           [C]: in function 'require'
           ./apisix/cli/etcd.lua:24: in main chunk
           [C]: in function 'require'
           ./apisix/cli/ops.lua:18: in main chunk
           [C]: in function 'require'
           ./apisix/cli/apisix.lua:32: in main chunk
           [C]: at 0x00404c80
   make: *** [init] 错误 1
   


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