go install sponge error
mohuani opened this issue · comments
Describe the bug
https://go-sponge.com/zh-cn/quick-start?id=%e5%ae%89%e8%a3%85-sponge
根据文档的安装步骤,安装sponge的时候报错。
To Reproduce
Steps to reproduce the behavior, if applicable:
- The code is
go version
go version go1.20.4 darwin/arm64
- The error is
go install github.com/zhufuyi/sponge/cmd/sponge@latest
# github.com/zhufuyi/sponge/cmd/sponge
ld: warning: '/private/var/folders/jx/41jbkxb92y7cmh1cs8kznr6w0000gn/T/go-link-3333539147/go.o' has malformed LC_DYSYMTAB, expected 129 undefined symbols to start at index 43311, found 221 undefined symbols starting at index 76
看错误信息是链接器错误,我没有darwin/arm64环境,不知道是否为兼容性问题。