/root/cmake-3.26.1/Bootstrap.cmk/cmake: /lib64/libstdc++.so.6: version `GLIBCXX_3.4.21' not found (required by /root/cmake-3.26.1/Bootstrap.cmk/cmake) strings /usr/lib64/libstdc++.so.6 | grep GLIBC GLIBCXX_3.4.15 GLIBCXX_3.4.16 GLIBCXX_3.4.17 GLIBCXX_3.4.18 GLIBCXX_3.4.19 GLIBC_2.3 GLIBC_2.2.5 GLIBC_2.14 GLIBC_2.4 find / -name "libstdc++.so*" /usr/local/lib64/libstdc++.so.6.0.24 /usr/local/lib64/libstdc++.so.6 /usr/local/lib64/libstdc++.so cp /usr/local/lib64/libstdc++.so.6.0.24 /usr/lib64/ cd /usr/lib64 rm -rf libstdc++.so.6 ln -s libstdc++.so.6.0.24 libstdc++.so.6 strings /usr/lib64/libstdc++.so.6 | grep GLIBC GLIBCXX_3.4.21 GLIBCXX_3.4.22 GLIBCXX_3.4.23 GLIBCXX_3.4.24 GLIBC_2.2.5 GLIBC_2.3 GLIBC_2.14 GLIBC_2.16 GLIBC_2.17