microsoft / microsoft/vscode-remote-release
remote tunnel to linux aarch64 with /usr/lib fails
Open
@connor4312 is already working on this.
Since Dec 5, 2023.
bug
tunnels
- Dominant language
- Dockerfile
- Stars
- 4.2k
- Forks
- 470
- Avg merge
- 1d 1h
- Merged PRs (30d)
- 1
Description
- VSCode Version: 1.84.2
- Local OS Version: Win11
- Remote OS Version: Debian aarch64-linux-gnu-gcc
- Remote Extension/Connection Type: remote tunnels
- Logs:
*
* Visual Studio Code Server
*
* By using the software, you agree to
* the Visual Studio Code Server License Terms (https://aka.ms/vscode-server-license) and
* the Microsoft Privacy Statement (https://privacy.microsoft.com/en-US/privacystatement).
*
[2023-11-29 15:51:56] error This machine not meet Visual Studio Code Server's prerequisites, expected either...: - find libstdc++.so or ldconfig for GNU environments
- find /lib/ld-musl-aarch64.so.1, which is required to run the Visual Studio Code Server in musl environments
Steps to Reproduce:
- curl -Lk 'https://update.code.visualstudio.com/latest/cli-linux-arm64/stable' --output vscode_cli.tar.gz
- tar -xf vscode_cli.tar.gz
- ./code tunnel
Continuing from #9229. This must be the same problem as #7495 (also see #7631). Looking into prereqs.rs and "fn check_glibcxx_version()" it seems the "DEFAULT_LIB_PATH" is set to "/usr/lib64" on my device that uses "/usr/lib". Arm32 is supported but when upgrading such to arm64 with same OS paths will then fail..
Some info about the device (not supporting ldconfig):
:~ cat /proc/version
Linux version 6.1.38-rt12-w04.02.00 (user@792a7ad1edc9) (aarch64-linux-gnu-gcc (GCC) 11.3.1 20220712, GNU ld (GNU Binutils) 2.38.20220708) #1 SMP PREEMPT Wed Nov 8 15:57:24 UTC 2023
:~ /usr/lib/libc.so.6
GNU C Library (GNU libc) stable release version 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.
Compiled by GNU CC version 11.3.1 20220712.
libc ABIs: UNIQUE ABSOLUTE
For bug reporting instructions, please see:
<https://www.gnu.org/software/libc/bugs.html>.
:~ find / -name "libstdc++.so.6"
/usr/lib/libstdc++.so.6
:/home ldd code
not a dynamic executable
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.