Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🚀 Continue to support GLIBC_2.28 in binary release #1029

Open
David-Else opened this issue Mar 30, 2022 · 7 comments
Open

🚀 Continue to support GLIBC_2.28 in binary release #1029

David-Else opened this issue Mar 30, 2022 · 7 comments

Comments

@David-Else
Copy link

0.11.3 worked fine on RHEL8/Centos8/RockyLinux8, but now delta-0.12.1-x86_64-unknown-linux-gnu.tar.gz gives:

delta: /lib64/libc.so.6: version `GLIBC_2.29' not found (required by delta)

Maybe another binary might work? I am not sure what all the extensions mean.

Can you please keep on supporting GLIBC_2.28? Thanks!

@phil-blain
Copy link
Contributor

I confirm (on RHEL 8.3).

@David-Else
Copy link
Author

unknown-linux-musl.tar.gz works OK.

@phil-blain
Copy link
Contributor

Thanks for the workaround ! I wouldn't have thought of trying a musl-compiled binary on a glibc system. It does work though, since the delta binary in the -musl tarball is a static executable.

@dandavison
Copy link
Owner

Hi all, I do not have particular expertise in this area. I believe that delta binaries are being built using procedures that are standard for Rust projects building via GitHub actions, so I don't think there are delta bugs in this area. However, I am open to advice / suggestions here and it's of course possible that something can be improved in the delta build config: https://github.com/dandavison/delta/blob/master/.github/workflows/cd.yml

@dandavison
Copy link
Owner

dandavison commented Jul 6, 2022

One strategy for investigating that comes to mind would be, if you come across a delta binary that is problematic, one could check a Rust+GitHubActions project such as bat or ripgrep to see whether they build a binary for the same architecture/libc, and see whether the same problem occurs with their binary.

@phil-blain
Copy link
Contributor

I googled a bit and it seems it is requiring the glibc version of the system where it's compiled. One alternative is to build in a Docker container (like the offical Rust ones).

@phil-blain
Copy link
Contributor

In fact looking at sharkdp/bat#2194 it seems it is only a matter of setting use-cross=true also for x86_64-unknown-linux-gnu :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants