-
Hello, go build if piping out pcap errors.
Dependencies like go, libpcap and linux-headers are already present on the system.
Any help will be appreciated on how to solve these errors. Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
mosajjal
Sep 27, 2023
Replies: 1 comment 1 reply
-
hey mate. that looks like a |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
mosajjal
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hey mate. that looks like a
CGO
problem. enable CGO (usingCGO_ENABLED=1
env variable) and see if that helps. the Dockerfile has all the option I've used to build the binary as well. There are also exact commands of building a binary using Alpine Linux in GitHub actions that you can use as well.