Cause: The note stack was migrated last night( https://note.51it.wang )On Tencent virtual machine, it is found that mindoc needs glibc-2.14 and the server is glibc-2.12, so it needs to be upgraded.
The default glibc version of CentOS is 2.12.1. The method to upgrade to glibc-2.14.1 is as follows
1. View the current glibc version:
ls -l /lib64/libc.so.6
2. Download gblic2.14. If wget fails to download, it is recommended to download from the local network and upload via xftp:
wget http://ftp.gnu.org/gnu/glibc/glibc-2.14.tar.gz
3. Unzip:
tar zxvf glibc-2.14.tar.gz
4. Installation:
cd glibc-2.14
mkdir build && cd build
/ Create a build folder under the source code folder, and place the compiled files in this folder /
../configure --prefix=/usr
/ Specify path /
make
/ Compilation takes a long time, patience, etc /
make install
/ Install with root privileges /
Finally, an error will be reported, which can be ignored:
/usr/bin/ld: cannot find -lnss_test1
collect2: ld returned 1 exit status
Execution of gcc -B/usr/bin/ failed!
5. Inspection:
ls -l /lib64/libc.so.6
The upgrade is now complete.