ppyu opened a new issue #1449:
URL: https://github.com/apache/incubator-iotdb/issues/1449


   **使用maven编译server代码时失败**
   
   **首先给出问题的截图**
   ![批注 2020-07-01 
210508](https://user-images.githubusercontent.com/32732750/86310510-ded30b80-bc50-11ea-8858-36b226029682.png)
   
![22222222222](https://user-images.githubusercontent.com/32732750/86310518-e397bf80-bc50-11ea-8bab-1f9be370c8f1.png)
   
   1、首先怀疑是我没有在CentOS7上安装thrift,于是去安装,然后编译还是出现同样的错误。
   2、仔细查看报错信息“version `GLIBCXX_3.4.20' not found”,怀疑是gcc版本问题导致编译不过。
   参考 https://www.bbsmax.com/A/6pdDOoOD5w/  这篇博客的方法,从本机上复制 
已有的libstdc++.so.6.0.20 到指定目录下,并重新软链接。
   
注意:CentOS7.8上没有libstdc++.so.6.0.20,但我在安装Anaconda时anaconda为我下载了libstdc++.so.6.0.25,我尝试将.25版本的复制过去,再用maven编译,编译通过。
   


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to