You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
jixuan1989
changed the title
0.10.0版本CentOS7.8由于gcc版本过低导致编译失败的问题
0.10.0版本CentOS7.8由于gcc版本过低导致编译失败的问题 (compiling IoTDB server failed because GLIBCXX version not found on Linux)
Jul 2, 2020
使用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编译,编译通过。
The text was updated successfully, but these errors were encountered: