dumbpipe icon indicating copy to clipboard operation
dumbpipe copied to clipboard

Linux release requires GLibc 2.34

Open link2xt opened this issue 1 year ago • 4 comments

I have tried to run Linux x86_64 release, and it failed on a system with glibc 2.31:

$ ./dumbpipe 
./dumbpipe: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by ./dumbpipe)
./dumbpipe: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33' not found (required by ./dumbpipe)
./dumbpipe: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by ./dumbpipe)

Maybe build with cargo-zigbuild to get a static binary?

Otherwise at least build in an Ubuntu 18.04 container or something like this, but then it would not be runnable in Alpine Linux containers with musl libc.

I am using zig toolchain here without cargo-zigbuild, works pretty well and runs on any Linux: https://github.com/deltachat/deltachat-core-rust/blob/280f13b8cf85e933c994f819ad6fae2823a563a0/scripts/zig-rpc-server.sh https://github.com/deltachat/deltachat-core-rust/blob/280f13b8cf85e933c994f819ad6fae2823a563a0/scripts/zig-cc

link2xt avatar Dec 04 '23 23:12 link2xt