Linux GLIBC的版本问题

在高版本的GCC编译的程序,在低版本的系统上运行,经常会出现类似问题:

clang: /lib64/libc.so.6: version `GLIBC_2.15' not found (required by clang)

clang: /lib64/libc.so.6: version `GLIBC_2.14' not found (required by clang)

clang: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.18' not found (required by clang)

clang: /usr/lib64/libstdc++.so.6: version `GLIBCXX_3.4.19' not found (required by clang)

解决方案:

升级低版本系统的GLIBC库的版本,

升级GLIBC库:https://blog.csdn.net/officercat/article/details/39520227

升级GLIBCXX库: https://www.linuxidc.com/Linux/2015-01/112595.htm

你可能感兴趣的:(Linux GLIBC的版本问题)