background The test environment has a CentOS 6 system, and an Android compilation environment needs to be built. However, it is found that the Android SDK requires a minimum glibc version of Compile glibc 2.14To view the glibc system version library, you can use the command: strings /lib64/libc.so.6 |grep GLIBC_ Next download glibc 2.14 and upgrade: #Download the source package wget http://ftp.gnu.org/gnu/glibc/glibc-2.14.tar.gz #Unzip tar -xvf glibc-2.14.tar.gz #Enter the source directory cd glibc-2.14 #Create a compilation directory and enter it mkdir build && cd build # Compile glibc ../configure --prefix=/usr/local/glibc-2.14 make && make install Modify soft link# First delete the original soft link rm -rf /lib64/libc.so.6 #Create a new soft link ln -s /usr/local/glibc-2.14/lib/libc-2.14.so /lib64/libc.so.6 #If the system command is not available, execute: LD_PRELOAD=/usr/local/glibc-2.14/lib/libc-2.14.so ln -s /usr/local/glibc-2.14/lib/libc-2.14.so /lib64/libc.so.6 #If the update fails, perform a restore: LD_PRELOAD=/lib64/libc-2.12.so ln -s /lib64/libc-2.12.so /lib64/libc.so.6 #Solve the problem of garbled Chinese characters after upgrading cp /usr/lib/locale/locale-archive /usr/local/glibc-2.14/lib/locale/locale-archive #Solve the problem of incorrect time zone ln -sf /etc/localtime /usr/local/glibc-2.14/etc/localtime at lastglibc is a system-dependent library. Please make relevant backups before upgrading. Upgrading is risky. Please bear the responsibility if any error occurs during upgrading. This is the end of this article about the steps to upgrade glibc in CentOS6. For more relevant content about upgrading glibc in CentOS6, please search for previous articles on 123WORDPRESS.COM or continue to browse the related articles below. I hope you will support 123WORDPRESS.COM in the future! You may also be interested in:
|
<<: Why should css be placed in the head tag
>>: Example of how to configure the MySQL database timeout setting
A few months after entering the industry in 2005, ...
Table of contents 1. Overview 1.1 Creating a func...
Achieve resultsImplementation Code html <heade...
Table of contents 1. Basics 2. Problem Descriptio...
Most people compile MySQL and put it in the syste...
Database application is an indispensable part of ...
Introduction to influxDB influxDB is a distribute...
This article shares the specific code of JavaScri...
Today I would like to share with you the CSS3 tra...
Table of contents Audio transcoding tools princip...
1: Tag selector The tag selector is used for all ...
CentOS 6 and earlier versions provide MySQL serve...
For Linux system administrators, it is crucial to...
Preface Learn MySQL to reorganize previous non-MK...
Table of contents 1. What I am going to talk abou...