gcash / bchd

An alternative full node bitcoin cash implementation written in Go (golang)
ISC License
280 stars 101 forks source link

Release 0.19.0 is not compatible with Debian stable #504

Closed infertux closed 2 years ago

infertux commented 2 years ago

bchd 0.19.0 cannot run on Debian 11 (current stable release):

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

Debian stable ships with glibc 2.31 but bchd seems to require 2.32+ since this release (bchd 0.18.1 runs fine though).

Would it be possible to recompile it with support for glibc 2.31? Thank you.

/cc @zquestz

zquestz commented 2 years ago

Unfortunately I only have access to an arch box, and gox which we use for cross compiles is picking up the latest glibc.

I will need to setup a VM with debian and run the cross compile there.

We used to run the cross compiles on travis, but only @cpacia has access to fix that, as I am not an administrator on the repo.

I will see what I can do to get this fixed.

zquestz commented 2 years ago

For now, you can easily just compile bchd yourself, that should work just fine.

zquestz commented 2 years ago

I just posted a new binary, can you please test it out and see if it works for you?

infertux commented 2 years ago

I just posted a new binary, can you please test it out and see if it works for you?

Thank you for the quick rebuild. I downloaded the new release (new SHA256 checksum: bf6da1a70defaea55baad32fcf129b032945a06baa9cc72363c9c02f7eba264e) and it works fine on Debian.

BTW it would be nice to have the checksums on the release page or some file in the repo.

Thank you for your help. Closing this issue.