-
Notifications
You must be signed in to change notification settings - Fork 657
🐛 Rome doesn't work on CentOS 7 #3549
Comments
This article goes into the details about why this might be a problem. |
@zoidbergwill can you confirm the libc version installed on your system by pasting the result of the following two commands ldd --version
yum list glibc |
Someone else also reported this issue. They are using the |
One option is to use the same docker container that Rust uses to build. https://github.com/rust-lang/rust/tree/master/src/ci/docker |
How would this work with Visual Studio Code? |
Sorry, my explanation was a bit brief. The idea is to use use the docker container in the CI pipeline that builds the Rome binary. Building on a machine with an older glibc version removes the reference to the problematic symbol. |
@MichaReiser Sorry for the delay. I'll share output from those!
|
I managed to build and run rome using https://quay.io/repository/pypa/manylinux2014_x86_64 (glibc 2.17) |
We may still want to consider a |
Ooooh, I had a look at manylinux, thinking about whether it was useful / applicable for Rust
This is a really interesting. It doesn't look like it's easy for folks to use outside of the repo from the investigations I did trying to find where it might be published. |
A bit late, but there seems to be a github action https://github.com/marketplace/actions/rust-musl-builder-slim |
build Rome for musl target for static link should resolve this issue |
Environment information
What happened?
Expected result
I hoped rome would run 😞
I got a similar error with CentOS 8 stream too, even after installing
glibc-devel
.I was wondering if this was because we were dynamically linking dependencies, and if we could potentially build binaries that wouldn't need these dependencies, and statically linked musl or something?
Sorry if this isn't a great bug report, and please let me know if I can help provide more details, or ideally help fix this, and better document it for folks that experience similar issues in the future.
Code of Conduct
The text was updated successfully, but these errors were encountered: