【软件安装】glibc安装


可能的错误
/lib64/libc.so.6: version `GLIBC_2.14' not found 
strings /lib64/libc.so.6 |grep GLIBC_

https://blog.csdn.net/ai2000ai/article/details/78983461
https://jingyan.baidu.com/article/d2b1d102ec07565c7e37d4c0.html
 
tar -xzvf glibc-2.29.tar.gz
cd glibc-2.29
mkdir build
cd build
../configure --prefix=/usr/local/glibc-2.29

*** These critical programs are missing or too old: as GNU ld make bison python

wget ftp://ftp.gnu.org/gnu/autoconf/autoconf-2.68.tar.gz
tar zxvf autoconf-2.68.tar.gz
cd autoconf-2.68
./configure --prefix=/usr/local/autoconf
make && make install

linux 安装 python3
https://www.cnblogs.com/kimyeee/p/7250560.html

wget https://www.python.org/ftp/python/3.6.1/Python-3.6.1.tgz
tar -zxvf Python-3.6.1.tgz
cd Python-3.6.1
./configure --prefix=/usr/local/python3
make && make install
ln -s /usr/local/python3/bin/python3 /usr/bin/python3



These critical programs are missing or too old: as GNU ld make bison

https://blog.csdn.net/EI__Nino/article/details/100090783
wget https://ftp.gnu.org/gnu/make/make-4.2.tar.gz
tar -zxf make-4.2.tar.gz
cd make-4.2
./configure --prefix=/usr/local/gmake
make && make install
ln -s usr/local/bin/make /usr/bin/make





Glibc编译报错:*** These critical programs are missing or too old: as ld gcc
https://www.cnblogs.com/relax-zw/p/11328453.html

https://blog.csdn.net/weixin_37697242/article/details/101446999

ldd --version

http://ftp.gnu.org/gnu/binutils/binutils-2.32.tar.gz

tar -zxvf binutils-2.32.tar.gz
cd binutils-2.32/
./configure --prefix=/usr/local/binutils
make && make install



mv /usr/bin/ld /usr/bin/ld_back
mv /usr/bin/as /usr/bin/as_back

ln -s /usr/local/binutils/bin/ld /usr/bin/ld
ln -s /usr/local/binutils/bin/as /usr/bin/as


ls -l | grep libopcodes


rm -rf /lib64/libc.so.6 
ln -s /opt/glibc-2.14/lib/libc-2.14.so /lib64/libc.so.6
 

 

 

  • 0
    点赞
  • 1
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值