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

LuaJIT is required for Luarocks functionality #1256

Open
jkcharlie6679 opened this issue Aug 1, 2023 · 2 comments
Open

LuaJIT is required for Luarocks functionality #1256

jkcharlie6679 opened this issue Aug 1, 2023 · 2 comments
Labels
bug v1 An issue or PR relevant to packer v2

Comments

@jkcharlie6679
Copy link

  • nvim --version: v0.7.2
  • git --version: 2.34.1
  • Operating system/version: Ubuntu 22.04.1 LTS ARM64

Steps to reproduce

I install the neovim with the ppa stable version. And follow the README.md like the following to install the packer. When I run the PackerSync to install the packages. It will show the error LuaJIT is required for Luarocks functionality. Does anyone met the same issue and know how to deal with?

git clone --depth 1 https://github.com/wbthomason/packer.nvim\
 ~/.local/share/nvim/site/pack/packer/start/packer.nvim
@jkcharlie6679 jkcharlie6679 added bug v1 An issue or PR relevant to packer v2 labels Aug 1, 2023
@jacobmiller22
Copy link

jacobmiller22 commented Dec 24, 2023

Any update/solution to this? Running into the same problem when running :PackerSync. Getting this on an ARM based oracle cloud minimal ubuntu instance.

@kkremitzki
Copy link

Any update/solution to this? Running into the same problem when running :PackerSync. Getting this on an ARM based oracle cloud minimal ubuntu instance.

The neovim package on arm64 is not compiled with luajit (see the output of nvim --version | grep LuaJIT.) However, the 32-bit armhf version is. It's possible to use that version on what would otherwise be a 64-bit system. Ideally starting with a clean system, one can do sudo dpkg --add-architecture armhf && sudo apt update && sudo apt install neovim:armhf. However, your mileage may vary in a mixed-architecture system like this: for example, I haven't been able to get nvim-treesitter working appropriately with automatically downloaded/compiled parsers, as it's producing 64-bit .so's which error out with e.g. Error executing lua callback: Failed to load parser: uv_dlopen: <path-to-lua.so> wrong ELF class: ELFCLASS64.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug v1 An issue or PR relevant to packer v2
Projects
None yet
Development

No branches or pull requests

3 participants