dmsolr commented on issue #4159:
URL: https://github.com/apache/apisix/issues/4159#issuecomment-829759569


   Hi @spacewander 
   Here are my operation logs.
   
   ```
   root@daming:~/github/apisix# curl 
https://raw.githubusercontent.com/apache/apisix/master/utils/linux-install-luarocks.sh
 -sL | bash -
   --2021-04-30 10:36:28--  
https://github.com/luarocks/luarocks/archive/v3.4.0.tar.gz
   Resolving github.com (github.com)... 13.250.177.223
   Connecting to github.com (github.com)|13.250.177.223|:443... connected.
   HTTP request sent, awaiting response... 302 Found
   Location: https://codeload.github.com/luarocks/luarocks/tar.gz/v3.4.0 
[following]
   --2021-04-30 10:36:29--  
https://codeload.github.com/luarocks/luarocks/tar.gz/v3.4.0
   Resolving codeload.github.com (codeload.github.com)... 54.251.140.56
   Connecting to codeload.github.com 
(codeload.github.com)|54.251.140.56|:443... connected.
   HTTP request sent, awaiting response... 200 OK
   Length: unspecified [application/x-gzip]
   Saving to: ‘v3.4.0.tar.gz’
   
   v3.4.0.tar.gz                                                [       <=>     
                                                                                
                                   ]   5.13M  4.00MB/s    in 1.3s    
   
   2021-04-30 10:36:30 (4.00 MB/s) - ‘v3.4.0.tar.gz’ saved [5382897]
   
   mkdir: cannot create directory ‘/root/.luarocks’: File exists
   Wrote
           variables.OPENSSL_LIBDIR = "/usr/local/openresty/openssl111/lib"
   to
           /root/.luarocks/config-5.1.lua
   Wrote
           variables.OPENSSL_INCDIR = "/usr/local/openresty/openssl111/include"
   to
           /root/.luarocks/config-5.1.lua
   root@daming:~/github/apisix# ./bin/apisix version
   lua ./apisix/cli/apisix.lua version
   lua: ./apisix/cli/etcd.lua:18: module 'base64' not found:
           no field package.preload['base64']
           no file '/root/github/apisix/base64/init.lua'
           no file '/root/github/apisix/deps/share/lua/5.1/base64/init.lua'
           no file '/root/github/apisix/deps/share/lua/5.1/base64.lua'
           no file '/usr/local/apisix/deps/share/lua/5.1/base64.lua'
           no file './base64.lua'
           no file '/usr/local/share/lua/5.1/base64.lua'
           no file '/usr/local/share/lua/5.1/base64/init.lua'
           no file '/usr/local/lib/lua/5.1/base64.lua'
           no file '/usr/local/lib/lua/5.1/base64/init.lua'
           no file '/usr/share/lua/5.1/base64.lua'
           no file '/usr/share/lua/5.1/base64/init.lua'
           no file '/root/github/apisix/deps/lib64/lua/5.1/base64.so'
           no file '/root/github/apisix/deps/lib/lua/5.1/base64.so'
           no file '/usr/local/apisix/deps/lib64/lua/5.1/base64.so'
           no file '/usr/local/apisix/deps/lib/lua/5.1/base64.so'
           no file './base64.so'
           no file '/usr/local/lib/lua/5.1/base64.so'
           no file '/usr/lib/x86_64-linux-gnu/lua/5.1/base64.so'
           no file '/usr/lib/lua/5.1/base64.so'
           no file '/usr/local/lib/lua/5.1/loadall.so'
   stack traceback:
           [C]: in function 'require'
           ./apisix/cli/etcd.lua:18: 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]: ?
   root@daming:~/github/apisix# history |tail -10
    2007  history
    2008  wget -qO - https://openresty.org/package/pubkey.gpg | sudo apt-key 
add -
    2009  sudo apt-get update
    2010  sudo apt-get -y install software-properties-common
    2011  sudo add-apt-repository -y "deb http://openresty.org/package/ubuntu 
$(lsb_release -sc) main"
    2012  sudo apt-get update
    2013  apt-get install openresty-openssl111-dev
    2014  curl 
https://raw.githubusercontent.com/apache/apisix/master/utils/linux-install-luarocks.sh
 -sL | bash -
    2015  ./bin/apisix version
    2016  history |tail -10
   root@daming:~/github/apisix# 
   ```
   


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

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


Reply via email to