摘要: error: C++ preprocessor "/lib/cpp" fails sanity check 问题的解决 问题的根源是缺少必要的C++库。如果是CentOS系统,运行,如下命令解决: yum install glibc-headers yum install gcc-c++ Ubunt 阅读全文
posted @ 2020-05-27 16:32 <Snooker> 阅读(457) 评论(0) 推荐(0) 编辑
摘要: 解决CentOS 7 中,make源文件时出现 /usr/bin/ld: cannot find -lstdc++ 错误 在CentOS 7中,使用static方法编译,需要安装static version of glibc-static libstdc++-static。使用如下命令安装 yum 阅读全文
posted @ 2020-05-27 16:29 <Snooker> 阅读(323) 评论(0) 推荐(0) 编辑