0. The following operations on the system redhat6.0 x86_64
1. Attempt to run the program, prompting "Libc.so.6:version ' glibc_2.14 ' not found" because the GLIBC version of the system is too low and the software is compiled with a higher version of GLIBC caused by:
2. Check the version supported by the system glibc:
[Email protected] bin]$ strings/lib64/libc.so.6 |grep glibc_glibc_2.2.5glibc_2.2.6glibc_2.3glibc_2.3.2glibc_ 2.3.3glibc_2.3.4glibc_2.4glibc_2.5glibc_2.6glibc_2.7glibc_2.8glibc_2.9glibc_2.10glibc_2.11glibc_2.12glibc_ PRIVATE
[Email protected] bin]$ strings/lib64/libc.so.6 |grep glibc_glibc_2.2.5glibc_2.2.6glibc_2.3glibc_2.3.2glibc_ 2.3.3glibc_2.3.4glibc_2.4glibc_2.5glibc_2.6glibc_2.7glibc_2.8glibc_2.9glibc_2.10glibc_2.11glibc_2.12glibc_ PRIVATE
3. You can see that up to 2.12 versions are supported, so consider compiling to solve this problem:
A. To http://ftp.gnu.org/gnu/glibc/download the latest version, I download the GLIBC-2.14.TAR.XZ this version, extract to any directory ready to compile
Decompression command: xz-d glibc-2.14.tar.xz
TAR-XVF Glibc-2.14.tar
B. Unzip here to/var/vmdisks/glibc-2.14/
C. Create a build directory in the GLIBC source directory and CD into the build directory
[[email protected] glibc-2.14]$ mkdir build[[email protected] glibc-2.14]$ CD Build
D. Run configure configuration, make && sudo make install
4. Temporarily modify environment variables
[Email protected] bin]$ export ld_library_path=/opt/glibc-2.14/lib: $LD _library_path[[email protected] glibc-2.14]$ Cd/var/vmdisks/cross/mingw32/bin/[[email protected] bin]$./qmake Usage:./qmake [mode] [options] [files]qmake has both Mo Des, one mode for generating project files based Onsome heuristics, and the other for generating makefiles. Normally youshouldn ' t need to specify a mode, as makefile generation was the DefaultMode for Qmake Test Qmake on a existing project ...
This is working correctly and the problem is resolved.
redhad6.0 Upgrade glibc