Patch the software with new glibc on old linux system.
- Resolve the following error on linux executables:
/lib64/libm.so.6: version `GLIBC_*.**' not found
/lib64/libc.so.6: version `GLIBC_*.**' not found
/lib64/libstdc++.so.6: version `CXXABI_*.*.*' not found
/lib64/libstdc++.so.6: version `GLIBCXX_*.*.**' not found
- Help run vscode server on older linux
- Operating system: linux_amd64
- Download / Clone this repository to your computer
- Go to the local directory of this repository
To resolve the glibc errors on linux executables, run:
bin/glibc-patch path/to/executable
WARNING: DO NOT move this repository AFTER any patches!
- Trun OFF the vscode setting -> Remote.SSH: Use Exec Server
- Connect to the remote via Vscode Remote.SSH until it fails to start the server
- The vscode server exectuable will be downloaded in this step
- Close Vscode
- Go to the directory of this repository on the remote system, run:
bin/glibc-patch-vscode
- If you change the server install path, run the following instead:
bin/glibc-patch-vscode path/to/.vscode-server
- Vscode server is now available, connect it.
- The above process should be done again when the Vscode upgrades.
WARNING: DO NOT move this repository AFTER any patches!
- ELF editor: patchelf-0.18.0
- Glibc version: 2.38 from ubuntu debs
- Libstdc++ version: 13.1 from ubuntu debs