You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As of 2022-02-28 the released binary of rust-analyzer for linux glibc (rust-analyzer-x86_64-unknown-linux-gnu.gz) is requiring a glibc version greater or equal to 2.29. Unfortunately, Ubuntu 18.04 only has up to glibc 2.27 and there is no easy way of updating glibc.
A lot of people are still using 18.04 as it is an LTS version supported until 2023. I'm wondering if it would be possible to keep building rust-analyzer with glibc 2.27 compatibility for a while, unless there is something essential in the newer versions.
Here is an easy way to test this using docker:
$ docker pull ubuntu:18.04
$ docker run -it ubuntu:18.04
root@cd61d9bf6f69:/# apt-get update
root@cd61d9bf6f69:/# apt-get install wget
root@cd61d9bf6f69:/# wget https://github.com/rust-analyzer/rust-analyzer/releases/download/2022-02-28/rust-analyzer-x86_64-unknown-linux-gnu.gz
root@cd61d9bf6f69:/# gunzip rust-analyzer-x86_64-unknown-linux-gnu.gz
root@cd61d9bf6f69:/# chmod + x rust-analyzer-x86_64-unknown-linux-gnu
root@cd61d9bf6f69:/# ./rust-analyzer-x86_64-unknown-linux-gnu --version
./rust-analyzer-x86_64-unknown-linux-gnu: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.29' not found (required by ./rust-analyzer-x86_64-unknown-linux-gnu)
./rust-analyzer-x86_64-unknown-linux-gnu: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by ./rust-analyzer-x86_64-unknown-linux-gnu)
The text was updated successfully, but these errors were encountered:
Hello rust-analyzer devs!
As of
2022-02-28
the released binary of rust-analyzer for linux glibc (rust-analyzer-x86_64-unknown-linux-gnu.gz) is requiring a glibc version greater or equal to 2.29. Unfortunately, Ubuntu 18.04 only has up to glibc 2.27 and there is no easy way of updating glibc.A lot of people are still using 18.04 as it is an LTS version supported until 2023. I'm wondering if it would be possible to keep building rust-analyzer with glibc 2.27 compatibility for a while, unless there is something essential in the newer versions.
Here is an easy way to test this using docker:
The text was updated successfully, but these errors were encountered: