Closed grzebla closed 8 months ago
can you try to run "file /home/gblachut/.bun/bin/bun" and logging the output here?
Sure, this is what I get:
gblachut@raspberrypi:~ $ file /home/gblachut/.bun/bin/bun
/home/gblachut/.bun/bin/bun: ELF 64-bit LSB pie executable, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, for GNU/Linux 3.7.0, BuildID[xxHash]=39459b35aacdf1fc, stripped
How did you install Bun?
Getting the same error here. Ran the commands as shown on the bun website:
curl -fsSL https://bun.sh/install | bash
Currently on a Raspberry Pi 4B
Linux raspberrypi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr 3 17:24:16 BST 2023 aarch64 GNU/Linux
How did you install Bun?
via curl -fsSL https://bun.sh/install | bash
and then tried to replace it with downloading directly aarch64 binary, but I got same error in all scenarios
It could be that you are running with a 32-bit userland.
For example, even though my uname -a
reports aarch64
, dpkg --print-architecture
reports armhf
. I suspect that bun
does not work on my system because the binary installed by the installer is expecting a 64-bit userland, which I don't have installed (e.g., there is no /lib/ld-linux-aarch64.so.1
on my system).
Oh, I see. Such a disappointment. I think there is no other way.
We are unlikely to support 32-bit architectures. You would need to get a 64-bit Rasberry Pi.
Raspberry Pi 5 should support Bun, but you have to install using snap. https://snapcraft.io/install/bunjs/raspbian I just ordered a Pi 5 8GB and plan to run Bun. I'll update this comment when my hardware arrives and I get it installed.
What version of Bun is running?
1.0.4
What platform is your computer?
Linux 6.1.21-v8+ aarch64 unknown
What steps can reproduce the bug?
I downloaded bun for
aarch64
from releases page, extracted it and tried to run. This is what I'm getting:What is the expected behavior?
I also run
uname -a
. This is the output: