New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mac m1 brew install:module 'kong.cmd.init' not found:No LuaRocks module #7705
Comments
I have add the paths |
#6677 eval |
ln -s /opt/homebrew/Cellar/kong/2.5.0/share/* /usr/local/share/ it has new error:
|
Hi all, I just opened Kong/homebrew-kong#185 that should fix this issue. Would you mind giving it a try? You can do something like the following to test it:
|
I get the same error, it work for me ,thanks |
Thanks for trying it out! |
Were you able to start Kong in your MacOS m1 environment -- or only install it? Cheers! |
I can also run Kong on MacOS M1 .
… Guilherme Salazar ***@***.***> 於 2021年12月15日 下午9:29 寫道:
@lienhui97,
Were you able to start Kong in your MacOS m1 environment -- or only install it?
Cheers!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications on the go with GitHub Mobile for iOS or Android.
|
Hi all, What MacOS version do you have? We have uncovered a few issues with m1 on MacOS 12. Thanks! |
Steps To Reproduce
brew tap kong/kong
brew install kong
2.luarocks install lyaml
3.brew info libyaml
/opt/homebrew/Cellar/libyaml/0.2.5
4.luarocks install lyaml YAML_LIBDIR=/opt/homebrew/Cellar/libyaml/0.2.5/lib/ YAML_INCDIR=/opt/homebrew/Cellar/libyaml/0.2.5/include/
lyaml 6.2.7-1 is now installed in /opt/homebrew/Cellar/openresty@1.19.3.2/1.19.3.2/luarocks
5.brew install kong ,also error:No file libyaml.a in /usr/local/lib
so i do it:
ln -s /opt/homebrew/Cellar/libyaml/0.2.5/lib/* /usr/local/lib
6.brew install kong, it's success.
Additional Details & Logs
kong version:
kong version
ERROR: /opt/homebrew/bin/kong:9: module 'kong.cmd.init' not found:No LuaRocks module found for kong.cmd.init
no field package.preload['kong.cmd.init']
no file './kong/cmd/init.lua'
no file './kong/cmd/init/init.lua'
no file '/opt/homebrew/Cellar/openresty@1.19.3.2/1.19.3.2/openresty/site/lualib/kong/cmd/init.ljbc'
no file '/opt/homebrew/Cellar/openresty@1.19.3.2/1.19.3.2/openresty/site/lualib/kong/cmd/init/init.ljbc'
no file '/opt/homebrew/Cellar/openresty@1.19.3.2/1.19.3.2/openresty/lualib/kong/cmd/init.ljbc'
no file '/opt/homebrew/Cellar/openresty@1.19.3.2/1.19.3.2/openresty/lualib/kong/cmd/init/init.ljbc'
no file '/opt/homebrew/Cellar/openresty@1.19.3.2/1.19.3.2/openresty/site/lualib/kong/cmd/init.lua'
no file '/opt/homebrew/Cellar/openresty@1.19.3.2/1.19.3.2/openresty/site/lualib/kong/cmd/init/init.lua'
no file '/opt/homebrew/Cellar/openresty@1.19.3.2/1.19.3.2/openresty/lualib/kong/cmd/init.lua'
no file '/opt/homebrew/Cellar/openresty@1.19.3.2/1.19.3.2/openresty/lualib/kong/cmd/init/init.lua'
no file '/opt/homebrew/Cellar/openresty@1.19.3.2/1.19.3.2/luarocks/share/lua/5.1/kong/cmd/init.lua'
no file './kong/cmd/init.lua'
no file '/opt/homebrew/Cellar/openresty@1.19.3.2/1.19.3.2/openresty/luajit/share/luajit-2.1.0-beta3/kong/cmd/init.lua'
no file '/usr/local/share/lua/5.1/kong/cmd/init.lua'
no file '/usr/local/share/lua/5.1/kong/cmd/init/init.lua'
no file '/opt/homebrew/Cellar/openresty@1.19.3.2/1.19.3.2/openresty/luajit/share/lua/5.1/kong/cmd/init.lua'
no file '/opt/homebrew/Cellar/openresty@1.19.3.2/1.19.3.2/openresty/luajit/share/lua/5.1/kong/cmd/init/init.lua'
no file '/Users/wuyachao/.luarocks/share/lua/5.1/kong/cmd/init.lua'
no file '/Users/wuyachao/.luarocks/share/lua/5.1/kong/cmd/init/init.lua'
no file '/opt/homebrew/Cellar/openresty@1.19.3.2/1.19.3.2/luarocks/share/lua/5.1/kong/cmd/init/init.lua'
no file '/opt/homebrew/Cellar/openresty@1.19.3.2/1.19.3.2/openresty/site/lualib/kong/cmd/init.so'
no file '/opt/homebrew/Cellar/openresty@1.19.3.2/1.19.3.2/openresty/lualib/kong/cmd/init.so'
no file './kong/cmd/init.so'
no file '/usr/local/lib/lua/5.1/kong/cmd/init.so'
no file '/opt/homebrew/Cellar/openresty@1.19.3.2/1.19.3.2/openresty/luajit/lib/lua/5.1/kong/cmd/init.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file '/Users/wuyachao/.luarocks/lib/lua/5.1/kong/cmd/init.so'
no file '/opt/homebrew/Cellar/openresty@1.19.3.2/1.19.3.2/luarocks/lib/lua/5.1/kong/cmd/init.so'
no file '/opt/homebrew/Cellar/openresty@1.19.3.2/1.19.3.2/openresty/site/lualib/kong.so'
no file '/opt/homebrew/Cellar/openresty@1.19.3.2/1.19.3.2/openresty/lualib/kong.so'
no file './kong.so'
no file '/usr/local/lib/lua/5.1/kong.so'
no file '/opt/homebrew/Cellar/openresty@1.19.3.2/1.19.3.2/openresty/luajit/lib/lua/5.1/kong.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file '/Users/wuyachao/.luarocks/lib/lua/5.1/kong.so'
no file '/opt/homebrew/Cellar/openresty@1.19.3.2/1.19.3.2/luarocks/lib/lua/5.1/kong.so'
stack traceback:
/opt/homebrew/bin/kong:9: in function 'file_gen'
init_worker_by_lua:46: in function <init_worker_by_lua:44>
[C]: in function 'xpcall'
init_worker_by_lua:53: in function <init_worker_by_lua:51>
The text was updated successfully, but these errors were encountered: