Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.10.0版本CentOS7.8由于gcc版本过低导致编译失败的问题 (compiling IoTDB server failed because GLIBCXX version not found on Linux) #1449

Closed
ppyu opened this issue Jul 2, 2020 · 0 comments

Comments

@ppyu
Copy link

ppyu commented Jul 2, 2020

使用maven编译server代码时失败

首先给出问题的截图
批注 2020-07-01 210508
22222222222

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编译,编译通过。

@jixuan1989 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants