/glibc-patch

patch the software with new glibc on old linux system

Primary LanguageShellMIT LicenseMIT

glibc-patch

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

Requirements

  • Operating system: linux_amd64

Usage

  1. Download / Clone this repository to your computer
  2. Go to the local directory of this repository

Patch Executables

To resolve the glibc errors on linux executables, run:

bin/glibc-patch path/to/executable

WARNING: DO NOT move this repository AFTER any patches!

Patch Vscode Server

  1. Trun OFF the vscode setting -> Remote.SSH: Use Exec Server
  2. 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
  1. Close Vscode
  2. 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
  1. Vscode server is now available, connect it.
  2. The above process should be done again when the Vscode upgrades.

WARNING: DO NOT move this repository AFTER any patches!

Technical Details