升级glibc2.33

cd /home

tar -zxvf glibc-2.33.tar.gz

cd glibc-2.33

mkdir glibc233

cd glibc233

export LD_LIBRARY_PATH=/usr/local/mpc-1.0.3/lib:/usr/local/gmp-6.1.2/lib:/usr/local/mpfr-3.1.5/lib:/usr/local/gcc-9.3.0/lib:/usr/local/isl-0.18/lib:/

/home/glibc-2.33/configure --prefix=/usr/local/glibc-2.33

make –j 40

make –j 40 install

vim /etc/profile中添加:

export PATH=/usr/local/glibc-2.33/bin:$PATH

生效:

source /etc/profile

你可能感兴趣的:(Linux,linux)