Skip to content

go build 构建失败 #279

Discussion options

You must be logged in to vote
  1. execute command:

sudo apt-get update
sudo apt-get install libwebp-dev

  1. enable Cgo:

export CGO_ENABLED=1

  1. check if enabled or not:

go env CGO_ENABLED

enabled if return 1

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by zmh-program
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
3 participants
Converted from issue

This discussion was converted from issue #273 on November 15, 2024 11:01.