Thanks, the flag is --disable-minimum-compiler-version-enforcement Note that I have had similar fun with standalone RocksDB builds. At times they have been optimistic about the recency of gcc/g++ that many of us use in the real world. On Thu, D
g++ clientTest.cpp -lmongoclient -lboost_thread -lboost_filesystem -lboost_regex
今天在64位linux编译程序时,出现如下错误提示
/usr/include/gnu/stubs.h:7:27: error: gnu/stubs-32.h:No such file or directory
解决方法如下
# yum -y install glibc-devel
对于32位的RHEL6系列,本文是对的。对于64为的RHEL6系列,需要制定安装32位的glibc开发包,即:
yum -y install glibc-devel.i686
如果直接使用
yum -y install glibc-devel