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

zsh: exec format error: ./.local/share/bob/v0.8.3/nvim-linux64/bin/nvim #100

Closed
NexusNovaz opened this issue Mar 7, 2023 · 15 comments · Fixed by #189
Closed

zsh: exec format error: ./.local/share/bob/v0.8.3/nvim-linux64/bin/nvim #100

NexusNovaz opened this issue Mar 7, 2023 · 15 comments · Fixed by #189
Labels
on-hold planned Request that is pllaned for the future

Comments

@NexusNovaz
Copy link

NexusNovaz commented Mar 7, 2023

Running ARM Ubuntu on Oracle cloud. Bob installed x86_64. Installed bob using cargo install --git https://github.com/MordechaiHadad/bob.git (if it matters)

╭─ubuntu on instance-20221207-0257 in ~ 23-03-07 - 17:50:13
╰─ file ./.local/share/bob/v0.8.3/nvim-linux64/bin/nvim
./.local/share/bob/v0.8.3/nvim-linux64/bin/nvim: ELF 64-bit LSB pie executable, x86-64, version 1 (SYSV), dynamically linked, interpreter /lib64/ld-linux-x86-64.so.2, BuildID[sha1]=5d575f4797452c24c5893fdb1c0317e2d8be2340, for GNU/Linux 3.2.0, with debug_info, not stripped

@MordechaiHadad
Copy link
Owner

MordechaiHadad commented Mar 7, 2023

yeah unfortunately bob only installs versions from neovim github releases which don't include arm versions sadly...
I can probably open a github issue on neovim's repo regarding this, but I don't have control of this.

@NexusNovaz
Copy link
Author

Ahh, thats a shame. Just found this issue on neovims repo.

@MordechaiHadad MordechaiHadad added planned Request that is pllaned for the future on-hold labels Mar 7, 2023
@MordechaiHadad
Copy link
Owner

You can probably just use bob to build neovim if you still want to have bob installed, otherwise it is kinda useless on arm sadly

@NexusNovaz
Copy link
Author

NexusNovaz commented Mar 8, 2023

You can probably just use bob to build neovim if you still want to have bob installed

Sorry, how can you do this with bob?

@MordechaiHadad
Copy link
Owner

MordechaiHadad commented Mar 8, 2023

you simply do bob install <commit-hash>
I haven't tried it on arm but i think it should work

@necrophcodr
Copy link

you simply do bob install <commit-hash> I haven't tried it on arm but i think it should work

So this would work with bob install <commit-hash-of-tagged-release>, correct?

@MordechaiHadad MordechaiHadad pinned this issue Mar 10, 2023
@MordechaiHadad
Copy link
Owner

you simply do bob install <commit-hash> I haven't tried it on arm but i think it should work

So this would work with bob install <commit-hash-of-tagged-release>, correct?

Absolutely

@0atman
Copy link
Sponsor Contributor

0atman commented Mar 13, 2023

you simply do bob install <commit-hash> I haven't tried it on arm but i think it should work

I can confirm that this works great with the current release hash on the nvim page 🎉 I don't mind manually updating that hash now and then until the upstream project figures out their aarch64 binaries.

Thanks @MordechaiHadad !

@0atman
Copy link
Sponsor Contributor

0atman commented Mar 13, 2023

To be clear, I ran:

$ bob install 129264dbb41404b94b835baadfc3fa25ffac3d3e
$ bob use 129264d

And now my proxy executable at ~/.local/share/bob/nvim-bin works 🎉

@MordechaiHadad
Copy link
Owner

To be clear, I ran:

$ bob install 129264dbb41404b94b835baadfc3fa25ffac3d3e
$ bob use 129264d

Oh wow that works?

@0atman
Copy link
Sponsor Contributor

0atman commented Mar 13, 2023

YEP!
Also, I guess I just needed the use line, right?

@MordechaiHadad
Copy link
Owner

YEP! Also, I guess I just needed the use line, right?

yeah, use auto invokes install, unless u disable it with --no-install

@damingerdai
Copy link
Contributor

i also meet the issue in wsl

@damingerdai
Copy link
Contributor

i also meet the issue in wsl

Fixed this issue by downloading manually

@MordechaiHadad
Copy link
Owner

This issue is fixed on MacOS arm for now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
on-hold planned Request that is pllaned for the future
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants