Skip to content

Instantly share code, notes, and snippets.

@R4wm
Created September 7, 2024 16:56
Show Gist options
  • Save R4wm/410227b6d5622b28ee0f882f1741c0c8 to your computer and use it in GitHub Desktop.
Save R4wm/410227b6d5622b28ee0f882f1741c0c8 to your computer and use it in GitHub Desktop.
just a place to reference those "how do you do that again stuff"

notes and tidbits

problem: when running compiled golang application `GLIBC_2.32' not found

solution: compile without CGO, this could make some issues if you need to CGO_ENABLED=0 disables calling C code (import "C").

example: CGO_ENABLED=0 go build -o webserver main.go


Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment