Centos6.GLIBC2.28.forDockerInstall
Server 관리/Linux반응형
참조 ) https://www.cnblogs.com/FengZeng666/p/15989106.html
기본설치방법
wget https://mirror.bjtu.edu.cn/gnu/libc/glibc-2.28.tar.xz
tar -xf glibc-2.28.tar.xz -C /usr/local/
cd /usr/local/glibc-2.28/
mkdir build
cd build/
../configure --prefix=/usr/local/glibc-2.28
오류날때 glibc 오류날때
yum install gcc -y
yum -y install centos-release-scl
yum -y install devtoolset-8-gcc devtoolset-8-gcc-c++ devtoolset-8-binutils
scl enable devtoolset-8 bash
echo "source /opt/rh/devtoolset-8/enable" >>/etc/profile
wget http://ftp.gnu.org/gnu/make/make-4.2.tar.gz
tar -xzvf make-4.2.tar.gz
cd make-4.2
sudo ./configure
sudo make
sudo make install
sudo rm -rf /usr/bin/make
sudo cp ./make /usr/bin/
make -v
wget https://mirror.bjtu.edu.cn/gnu/libc/glibc-2.28.tar.xz
tar -xf glibc-2.28.tar.xz -C /usr/local
cd /usr/local/glibc-2.28/
mkdir build
cd build/
yum install -y bison
sudo ../configure --prefix=/usr --disable-profile --enable-add-ons --with-headers=/usr/include --with-binutils=/usr/bin
make //make 运行时间较长,可能会有半小时
make install
strings /lib64/libc.so.6 |grep GLIBC
반응형
'Server 관리 > Linux' 카테고리의 다른 글
vi.붙여넣기,paste.오류.밀려남. (0) | 2022.12.30 |
---|---|
bash.shell.script.$변수.bad substitution (0) | 2022.12.19 |
SSH 보안 설정 (0) | 2022.01.13 |
Centos, 센토스 server minimal 이후 추가 설치 (0) | 2021.12.21 |
Centos, 센토스 server minimal 이후 추가 설치 (0) | 2021.12.21 |