【软件安装】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
 

 

 

你可能感兴趣的:(软件安装,linux)