Skip to content
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

Wrong architecture when install lua on Mac M1 #38

Open
SuperBo opened this issue Jul 1, 2024 · 0 comments
Open

Wrong architecture when install lua on Mac M1 #38

SuperBo opened this issue Jul 1, 2024 · 0 comments
Labels

Comments

@SuperBo
Copy link

SuperBo commented Jul 1, 2024

I installed luarocks by asdf with this plugin on my Mac M1. However, the installed luarocks doesn't have correct architecture:

$ luarocks config

accept_unknown_fields = false
arch = "macosx-x86_64"
cache = {
   luajit_version_checked = true
}
cache_fail_timeout = 86400
cache_timeout = 60
check_certificates = false
cmake_generator = "Unix Makefiles"
config_files = {
   nearest = "/Users/superbo/.asdf/installs/lua/5.1.5/luarocks/etc/luarocks/config-5.1.lua",
   system = {
      file = "/Users/superbo/.asdf/installs/lua/5.1.5/luarocks/etc/luarocks/config-5.1.lua",
      found = true
   },
   user = {
      file = "/Users/superbo/.luarocks/config-5.1.lua",
      found = false
   }
}
...

I think you need to set LUAROCKS_UNAME_M when configure luarock. luarocks/luarocks#258

@Stratus3D Stratus3D added the bug label Jul 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants