3 ms·
Doesn't work on my system unfortunately (WSL 2) LAPTOP-162NUQO7:~$ curl -fsSL https://bun.sh/install | bash ###########################################
by LAC-Tech 3y ago
Doesn't work on my system unfortunately (WSL 2)
LAPTOP-162NUQO7:~$ curl -fsSL https://bun.sh/install | bash
######################################################################## 100.0%
bun was installed successfully to ~/.bun/bin/bun
Manually add the directory to ~/.bashrc (or similar):
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"
To get started, run:
bun --help
LAPTOP-162NUQO7:~$ ~/.bun/bin/bun
Error relocating /home/lewis/.bun/bin/bun: unsupported relocation type 37
Error relocating /home/lewis/.bun/bin/bun: unsupported relocation type 37
Error relocating /home/lewis/.bun/bin/bun: unsupported relocation type 37
- Jarred 3y agoThat’s an interesting error I haven’t seen before. Are you on the latest Linux kernel for WSL2? Is this WSL2 x64 or arm64? Are you using musl by chance? Bun requires glibc 2.29+
- LAC-Tech 3y agoYes I'm using musl. Alpine Linux in WSL2.
- foo_bar_2000 3y agoAll alpine users should already know this https://wiki.alpinelinux.org/wiki/Running_glibc_programs https://wiki.alpinelinux.org/wiki/Running_glibc_programs
- LAC-Tech 3y agoNode.js works fine, the rustup script correctly determines I'm on a musl system and gives me the right binary.