-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
Support RedHat 8.x on official Zed binaries (glibc 2.28) #21055
Comments
For reference, our official binaries for the GUI do not support RHEL 8.x, but the zed-remote-server binaries do (no glibc requirement at all). You can absolutely build from source on Redhat 8.x. You should be able to follow the normal Building Zed for Linux docs. I recommend you checkout tags that match our released versions (e.g. v0.162.3 or whatever) as a random commit off To be honest, we don't have official RHEL 8.x compatible binaries because the primary use case for old RHEL and clones was for There's some extra complexity for creating our CI release builds under Docker, but nothing too crazy. I'll see if I can get it going. |
Ugh I had a whole comment here and then Linux's brilliant memory management kicked in and hard rebooted my machine (obviously what desktop users want when you run out of memory!). Anyway TL;DR, I tried building from source and had two issues:
Apart from that it built perfectly! Took a while, but nothing crazy considering how big of a project it is. |
We have a dedicated script for installing mold, crazily named script/install-mold. I have been hesitant to call this by default from Anyways, happy to review PRs to improve this process or documentation. I did my best, but without a RHEL 8.x license I can only test on clones (Rocky, Alma, etc) which only goes so far. Thanks for the feedback. |
Check for existing issues
Describe the bug / provide steps to reproduce it
Zed currently requires glibc 2.29, which is not available on older Linux distros. I'm using RHEL 8 which only has 2.28.
I thought using the unofficial Flatpak version would work around this (isn't that the point of Flatpak?) but no, exactly the same issue. Soured my opinion of Flatpak a bit tbh, if it doesn't even avoid Linux's biggest binary compatibility clusterfuck.
Anyway is there any chance you could compile Zed with an older version? E.g. you could use Rocky 8. Here's an example where I did this.
Environment
RHEL 8 / Glibc 2.28
If applicable, add mockups / screenshots to help explain present your vision of the feature
No response
If applicable, attach your Zed.log file to this issue.
No response
The text was updated successfully, but these errors were encountered: