升级glibc2.33

  • Post author:
  • Post category:其他

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

版权声明:本文为kobe24fgy原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。