问题遇到的现象和发生背景
Centos 安装GLIBC2.35报错
问题相关代码,请勿粘贴截图
首先解压 glibc-2.35.tar.gz包
解压后在 glibc-2.35目录下新建一个文件夹build,然后进入该目录,执行
../configure --prefix=/usr --disable-profile --enable-add-ons --with-headers=/usr/include --with-binutils=/usr/bin
然后make&&make install
运行结果及报错内容
gcc: relocation error: /lib64/libc.so.6: symbol __tunable_get_val, version GLIBC_PRIVATE not defined in file ld-linux-x86-64.so.2 with link time reference
make[1]: *** [Makerules:1033: /home/luolong/Downloads/glibc-2.36/build/format.lds] Error 127
make[1]: Leaving directory '/home/luolong/Downloads/glibc-2.36'
make: *** [Makefile:12: install] Error 2
sed: relocation error: /lib64/libpthread.so.0: symbol __libc_dl_error_tsd, version GLIBC_PRIVATE not defined in file libc.so.6 with link time reference
我的解答思路和尝试过的方法
暂时没有其它思路
我想要达到的结果
使用该rpm -qi glibc命令,查看GLIBC最新版本
Name : glibc
Version : 2.35 #这里显示2.35,而不是2.17