centos8 报错sr/bin/ld: cannot find -lstdc++

dnf --enablerepo=PowerTools install glibc-static -y

dnf --enablerepo=PowerTools install  libstdc++-static  -y
 

https://stackoverflow.com/questions/60532694/clion-cmake-static-library-link-static-libgcc-static-libstdc

 

 

 

你可能感兴趣的:(linux)