Fork me on GitHub
#babashka
<
2021-03-15
>
borkdude15:03:45

This babashka binary should work on RaspberryPi 64bit! https://15839-201467090-gh.circle-artifacts.com/0/release/babashka-0.2.14-SNAPSHOT-linux-aarch64.tar.gz Anyone wants to try?

👏 1
2
dharrigan16:03:28

Doesn't seem to work

dharrigan16:03:48

Unless I'm doing something very wrong

dharrigan16:03:59

❯ ./bb 
zsh: exec format error: ./bb

dharrigan16:03:15

❯ file bb
bb: ELF 64-bit LSB shared object, ARM aarch64, version 1 (SYSV), dynamically linked, interpreter /lib/ld-linux-aarch64.so.1, BuildID[sha1]=0cd3bbed3e8d1ae37a8546038d4cf2c8ebe8a184, for GNU/Linux 3.7.0, with debug_info, not stripped

dharrigan16:03:02

Let me see...

dharrigan16:03:11

Yeah, mymistake. Not in 64, I'm in armv7l

Tomas Brejla12:03:59

I wonder.. Is it better to have aarch64 static build or non-static one? The aarch64 build works fine on my raspberry. Just for fun, I also tried running it on my old android tablet (which is not rooted and is using Termux ). It didn't work, probably because missing glibc. I manually compiled static version for aarch64 and this one works just fine.

borkdude12:03:46

We can add a static aarch64 build too

borkdude12:03:34

I think it's good to have choices. Sometimes the static one doesn't work on all linuxes. I often get complaints about this in clj-kondo of people who try to run the linux static one

borkdude12:03:43

while they should be running the dynamic one

borkdude12:03:55

feel free to PR a circleci job with the static flag on

borkdude12:03:00

so we can also distribute that one

borkdude12:03:24

btw, it might also be libc++ that's missing

borkdude22:03:51

Note to package maintainers: archives for linux and macos are now in tar.gz and not in .zip format. Windows is still in .zip format.

💯 1
babashka 3