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

Fix build on Ubuntu 20.04 #244

Merged
merged 2 commits into from
Mar 15, 2024
Merged

Fix build on Ubuntu 20.04 #244

merged 2 commits into from
Mar 15, 2024

Conversation

syntrust
Copy link
Collaborator

Addressing #239

Possible cause: the build was created on a newer version of ubuntu than 20.04 where some dependencies are dynamically linked (GLIBC_2.32, GLIBC_2.34)

Solution:

With CGO_ENABLED=0 you got a statically-linked binary (see: https://en.wikipedia.org/wiki/Static_build) so it will run without any external dependencies

Test has been done on ubuntu 20.04 and 22.04: running es-node till successfully mined.

@syntrust syntrust requested review from qzhodl and ping-ke March 15, 2024 08:15
@syntrust syntrust merged commit 56e9624 into main Mar 15, 2024
2 checks passed
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

Successfully merging this pull request may close these issues.

3 participants