# glibc2.28_for_CentOS7 **Repository Path**: xxred/glibc2.28_for_CentOS7 ## Basic Information - **Project Name**: glibc2.28_for_CentOS7 - **Description**: No description available - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: main - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2025-08-29 - **Last Updated**: 2025-08-29 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # glibc2.28_for_CentOS7 # failed if zsh is the default shell ## Usage: ```bash tar -xf lib.tgz ``` then set following in ~/.bashrc ```bash export TOOLCHAIN_DIR=/path/to/glibc2.28_for_CentOS7 # MODIFY THIS! export TOOLCHAIN_VERSION=2.28 export VSCODE_SERVER_CUSTOM_GLIBC_LINKER=${TOOLCHAIN_DIR}/lib/ld-${TOOLCHAIN_VERSION}.so export VSCODE_SERVER_CUSTOM_GLIBC_PATH=${TOOLCHAIN_DIR}/lib export VSCODE_SERVER_PATCHELF_PATH=${TOOLCHAIN_DIR}/bin/patchelf ``` then your vscode 1.99 work well ## Introduction: this sysroot was compiled by ct-ng on CentOS7.9 glibc 2.28 was compiled with 3.10 kernel patchelf is 0.15 my system version: CentOS Linux release 7.9.2009 my kernel: 3.10.0-1160.el7.x86\_64 ## Suggestions: I have failed to install a ct-ng sysroot on a cluster due to the compicate environments. Then I realized that the minimal "lib" dir and a patchelf binary are good for a new CentOS7. For security, you can compile your own sysroot by ct-ng in a clean CentOS7.9 virtual machine, tar it, copy to target machine, tar -xf.