What Should I Do If the Remote Host Does Not Meet the GLIBC or libstdc++ Version Requirements for VS Code Server?
Symptom
When users remotely connect to a notebook instance using VS Code, the following warning information is displayed:
Warning: Missing GLIBC >= 2.28! from /lib/x86_64-linux-gnu/libc-2.27.so Error: Missing required dependencies. Please refer to our FAQ https://aka.ms/vscode-remote/faq/old-linux for additional information.
Possible Causes
The GLIBC or libstdc++ version installed on your remote host does not meet the requirements of the VS Code remote development plugin.
Solution
Use either of the following methods to resolve the issue:
- Method 1: Use VS Code 1.85.2 or 1.86.2 and ensure that the GLIBC version of the image used by the notebook instance is earlier than 2.28. For details, see Installing VS Code. You can run the ldd --version command to check the GLIBC version.
- Method 2: Update the GLIBC or libstdc++ version by referring to Remote Development FAQ.
Run the following commands to check the GLIBC and libstdc++ versions installed on your remote host:- Check the GLIBC version.
ldd --version
Figure 1 Checking the GLIBC version
- Check the libstdc++ version.
strings /usr/lib64/libstdc++.so.6 | grep '^GLIBCXX'
- Check the GLIBC version.
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot