下载glog地址:https://github.com/google/glog
glog 的编译过程:
./autogen.sh && ./configure && make && make install
如果出现:
/usr/local/lib/libgflags.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make: *** [libglog.la] 错误 1
见我另一个关于gflag的blog
https://blog.youkuaiyun.com/Nankys/article/details/106588054