1.下载源码包

  到http://ftp.gnu.org/gnu/glibc/下载glibc-2.14.tar.xz

2.解压

  tar glibc-2.14.tar.gz

3.创建build目录

  cd glibc-2.14

  mkdir build

  cd build

4.安装glibc

  ../configure --prefix=/opt/glibc-2.14

  make -j8

  make install

备注:如果提示/opt/etc/ld.so.conf 文件不存在,就创建文件在安装

  touch /opt/etc/ld.so.conf 

  make install

相关文章:

  • 2021-12-18
  • 2022-12-23
  • 2022-12-23
  • 2021-07-13
  • 2022-12-23
  • 2022-12-23
  • 2021-10-16
  • 2021-10-16
猜你喜欢
  • 2022-03-07
  • 2021-08-12
  • 2021-11-07
  • 2021-06-11
  • 2021-07-15
  • 2022-12-23
  • 2022-01-02
相关资源
相似解决方案