I do not know how to upgrade glibc from version 2.12 to 2.14 on CentOS 6.3. I need your help.
我不知道如何在CentOS 6.3上将glibc从2.12版本升级到2.14版本。我需要你的帮助。
2 个解决方案
#1
37
You cannot update glibc on Centos 6 safely. However you can install 2.14 alongside 2.12 easily, then use it to compile projects etc. Here is how:
无法安全地更新Centos 6上的glibc。不过,您可以轻松地安装2.14和2.12,然后使用它编译项目等。
- mkdir ~/glibc_install; cd ~/glibc_install
- mkdir ~ / glibc_install;cd ~ / glibc_install
- wget http://ftp.gnu.org/gnu/glibc/glibc-2.14.tar.gz
- wget http://ftp.gnu.org/gnu/glibc/glibc-2.14.tar.gz
- tar zxvf glibc-2.14.tar.gz
- 焦油zxvf glibc-2.14.tar.gz
- cd glibc-2.14
- cd glibc - 2.14
- mkdir build
- mkdir构建
- cd build
- cd构建
- ../configure --prefix=/opt/glibc-2.14
- . ./ configure——prefix = / opt / glibc - 2.14
- make -j4
- 让阁下
- sudo make install
- sudo make install
- export LD_LIBRARY_PATH=/opt/glibc-2.14/lib
- 出口LD_LIBRARY_PATH = / opt / glibc - 2.14 / lib
#2
2
To update glibc please use the below command
要更新glibc,请使用以下命令
yum -y update glibc
#1
37
You cannot update glibc on Centos 6 safely. However you can install 2.14 alongside 2.12 easily, then use it to compile projects etc. Here is how:
无法安全地更新Centos 6上的glibc。不过,您可以轻松地安装2.14和2.12,然后使用它编译项目等。
- mkdir ~/glibc_install; cd ~/glibc_install
- mkdir ~ / glibc_install;cd ~ / glibc_install
- wget http://ftp.gnu.org/gnu/glibc/glibc-2.14.tar.gz
- wget http://ftp.gnu.org/gnu/glibc/glibc-2.14.tar.gz
- tar zxvf glibc-2.14.tar.gz
- 焦油zxvf glibc-2.14.tar.gz
- cd glibc-2.14
- cd glibc - 2.14
- mkdir build
- mkdir构建
- cd build
- cd构建
- ../configure --prefix=/opt/glibc-2.14
- . ./ configure——prefix = / opt / glibc - 2.14
- make -j4
- 让阁下
- sudo make install
- sudo make install
- export LD_LIBRARY_PATH=/opt/glibc-2.14/lib
- 出口LD_LIBRARY_PATH = / opt / glibc - 2.14 / lib
#2
2
To update glibc please use the below command
要更新glibc,请使用以下命令
yum -y update glibc