-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
RA server bootstrap error #13138
Comments
What does running |
/home/user/.vscode-server-insiders/extensions/rust-lang.rust-analyzer-0.3.1178-linux-x64/server/rust-analyzer: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.29' not found (required by /home/user/.vscode-server-insiders/extensions/rust-lang.rust-analyzer-0.3.1178-linux-x64/server/rust-analyzer)
/home/user/.vscode-server-insiders/extensions/rust-lang.rust-analyzer-0.3.1178-linux-x64/server/rust-analyzer: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /home/user/.vscode-server-insiders/extensions/rust-lang.rust-analyzer-0.3.1178-linux-x64/server/rust-analyzer) |
You need at least glibc 2.29 to run rust-analyzer since recently. You may be able to update your distro running in WSL. If not see #13081 (comment) for how to get use rust-analyzer through rustup, which has the same glibc requirements as the rest of rustc. |
I have already updated glibc to 2.35, but the problem still occurs. ldd (GNU libc) 2.35
Copyright (C) 2022 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Written by Roland McGrath and Ulrich Drepper. |
Same issue when using the vscode version 1.70.2 and the official Microsoft rust-postgres devcontainer (EDIT: using debian buster).
Devcontainer: https://github.com/microsoft/vscode-dev-containers/tree/v0.245.0/containers/rust-postgres
The fix mentioned in the comment (using the rust-analyzer via rustup) worked for me. However the path was:
|
@michidk Bullseye has GLIBC 2.31, so it should work. Are you sure your container is not based on an older version of Debian, like Buster? |
@KaoImin how did you install GLIBC 2.35? |
You are right. The dockerfile set it to bullseye but the docker-compose file overwrote it with buster.
|
Presumably fixed in #13214. |
Type: Bug
When I update the extension to the latest version and reload, the server cannot bootstrap:
Extension version: 0.3.1178
VS Code version: Code - Insiders 1.71.0-insider (35b971c92d210face8c446a1c6f1e470ad2bcb54, 2022-08-26T05:19:46.020Z)
OS version: Windows_NT x64 10.0.22000
Modes:
Sandboxed: Yes
Remote OS version: Linux x64 5.10.102.1-microsoft-standard-WSL2
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: enabled
video_encode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
The text was updated successfully, but these errors were encountered: