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

arm64 binary not working on rpi4 (aarch64) raspbian bookworm #961

Closed
khimaros opened this issue Oct 25, 2023 · 1 comment · Fixed by #1095
Closed

arm64 binary not working on rpi4 (aarch64) raspbian bookworm #961

khimaros opened this issue Oct 25, 2023 · 1 comment · Fixed by #1095
Labels
bug Something isn't working

Comments

@khimaros
Copy link

khimaros commented Oct 25, 2023

Describe the bug
binary is not executable on this architecture

To Reproduce
i tried installing manually from releases (arm64) as well as with the install script

$ ./rtx/bin/rtx 
bash: rtx/bin/rtx: cannot execute: required file not found

Expected behavior
rtx invokes successfully

rtx doctor output

not applicable

Additional context

$ uname -a
Linux 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 aarch64 GNU/Linux

$ lsb_release -a
Distributor ID: Raspbian
Description:    Raspbian GNU/Linux 12 (bookworm)
Release:        12
Codename:       bookworm
@khimaros khimaros added the bug Something isn't working label Oct 25, 2023
@khimaros
Copy link
Author

khimaros commented Oct 26, 2023

the issue seems to be 64bit kernel with 32bit user space. in other words, i would need an armhf build of rtx in order to use it on this installation.

some related topics in this area:

rust-lang/rustup@745473d
rust-lang/rustup#3307
https://forums.raspberrypi.com/viewtopic.php?t=349291

@jdx jdx linked a pull request Dec 6, 2023 that will close this issue
@jdx jdx closed this as completed in #1095 Dec 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant