Change:
if !all_versions.iter().any(|v| &*MIN_CXX_VERSION >= v) { return Err(format!( <del> "find GLIBCXX >= 3.4.18 (but found {} instead) for GNU environments", </del> <ins> "find GLIBCXX >= {} (but found {} instead) for GNU environments", *MIN_CXX_VERSION, </ins> all_versions .iter() .map(String::from)

Discussion:
<!-- Do Not Delete This! bugreporttemplate --<!-- Please read our Rules of Conduct: --<!-- Read our guide about submitting issues: --<!-- Search existing issues to avoid creating duplicates. --<!-- Test using the latest Insiders build to see if your issue has already been fixed: --<!-- Instead of creating your report here, use 'Report Issue' from the 'Help' menu in VS Code to pre-fill useful information. --<!-- Launch with to check. --Does this issue occur when all extensions are disabled?: Yes <!-- If you answered No above, use 'Help: Start Extension Bisect' from Command Palette to try to identify the cause. --<!-- Issues caused by an extension need to be reported directly to the extension publisher. The 'Help Report Issue' dialog can assist with this. --- VS Code Version: Version: 1.86.0-insider (user setup) Commit: Date: 2024-01-09T09:57:14.563Z Electron: 27.2.1 ElectronBuildId: Chromium: 118.0.5993.159 18.17.1 V8: 11.8.172.18-electron.0 OS: WindowsNT x64 10.0. OS Version: RHEL7.9 or CentOS 7 Steps to Reproduce: Remote-SSH to RHEL/CentOS 7 fails to setup. Running the remote manually shows a reason: The message is misleading however.

The system has GLIBC2.17 so it should not fail based on the message: The problem is that the check is really for which is now 2.28, It's only that '2.17' is incorrectly hardcoded in which is misleading, See:
[root ~]# cat [2024-01-10 09:16:45] error This machine not meet Visual Studio Code Server's prerequisites, expected either...: - find GLIBC = 2.17 (but found v2.17.0 instead) for GNU environments find /lib/ld-musl-, which is required to run the Visual Studio Code Server in musl environments # rpm -qa |grep glibc glibc-common-2.17-326.el79.x8664 glibc-headers-2.17-326.el79.x8664 glibc-2.17-326.el79.x8664 glibc-devel-2.17-326.el79.x86_64
Same issue here.
Same issue.
the same issue, but with additional lib:
cc or ? looks like a linux/c version issue?
same here, remote host is centos 7
I get this error also am on centos 7, I am trying to use an older version which I have but now joy is there a fix for this? error This machine does not meet Visual Studio Code Server's prerequisites, expected either...: - find GLIBC = v2.28.0 (but found v2.17.0 instead) for GNU environments find /lib/ld-musl-, which is required to run the Visual Studio Code Server in musl environments Any help or advice or patch appreciated thanks
Same here. Having the same issue since this morning. I am on Amazon linux 2
same issue happening today, heres my computer info: Version: 1.86.0 Commit: Date: 2024-01-31T10:27:46.147Z Electron: 27.2.3 ElectronBuildId: Chromium: 118.0.5993.159 18.17.1 V8: 11.8.172.18-electron.0 OS: Linux x64 6.5.0-15-generic snap
Same issue happening here. I downgraded VSCode to version 1.84.2, and the issue disappeared.

But I restart Vscode and the issue appears again.
same issue happening here error This machine does not meet Visual Studio Code Server This machine does not meet Visual Studio Code Server's prerequisites, expected either...: - find GLIBC = v2.28.0 (but found v2.17.0 instead) for GNU environments.
Same issue encountered
same issue here.
I have downgraded the VS code version from 1.86 back to 1.85, with that change now able to connect to my remote EC2 host.