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

关于Glibc版本的问题 #79

Closed
Creling opened this issue Feb 24, 2021 · 3 comments
Closed

关于Glibc版本的问题 #79

Creling opened this issue Feb 24, 2021 · 3 comments

Comments

@Creling
Copy link

Creling commented Feb 24, 2021

当前版本(v1.5.5)的release依赖于GLIBC_2.28
image

无法在Centos7,Ubuntu18.04等系统中运行。
image

Centos7的生命周期截至2024年,Ubuntu18.04的生命周期截至2028年,仍然是现在和将来较长一段时间内的主流Linux发行版。

作者是否可以考虑之后在Ubuntu18.04+Go1.16环境中进行编译和发布?(测试可行)
image

@saltbo
Copy link
Owner

saltbo commented Feb 24, 2021

哈哈,自从v1.5发布后就发现这个问题了,我一直以为是我升级了某些Golang的包导致的。今天看到你这个issue突然意识到是打包环境的问题。我们使用的是GitHubAction进行打包发布,使用的是ubuntu-latest,而ubuntu-latest最近应该是更新到20.04了

去查了下官方文档,果然。。
image

saltbo added a commit that referenced this issue Feb 24, 2021
@Creling
Copy link
Author

Creling commented Feb 24, 2021

哈,我今天下午才发现这个问题。以为作者的开发环境是Ubuntu20.04,考虑到切换环境比较麻烦,本打算提个PR把Makefile改成静态编译,但后来发现项目中用到了getpwuid_r()等函数,没有办法实现预期效果,最终还是得回到打包环境上来,所以才有了这个issue。

@Creling Creling closed this as completed Feb 24, 2021
@saltbo
Copy link
Owner

saltbo commented Feb 24, 2021

resolved @v1.5.6

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