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

/usr/local/lib 下载好了 但执行 go build就报错,我也go mod tidy了怎么还是有问题 #280

Open
GnarALICRX opened this issue Jul 3, 2024 · 2 comments
Labels

Comments

@GnarALICRX
Copy link

bizhi@bizhi:~/golang/gopath/src/go-sdk/v3$ go build -ldflags="-r /usr/local/lib" -o console ./cmd/console.go
package command-line-arguments
imports github.com/FISCO-BCOS/go-sdk/v3/cmd/commandline
imports github.com/FISCO-BCOS/go-sdk/v3/client
imports github.com/FISCO-BCOS/bcos-c-sdk/bindings/go/csdk: build constraints exclude all Go files in /home/bizhi/golang/gopath/pkg/mod/github.com/!f!i!s!c!o-!b!c!o!s/[email protected]/bindings/go/csdk

@GnarALICRX
Copy link
Author

有没有视频教程阿

@bxq2011hust
Copy link
Member

检查下你有没有开启cgo的支持

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants