Compile filebeat Error
shoothzj opened this issue · 3 comments
shoothzj commented
Error Meet
When I am compiling pulsar-beat-output, it appears this error.
[root@af9dfd50cdaa pulsar-beat-output]# uname -a
Linux af9dfd50cdaa 4.19.121-linuxkit #1 SMP Tue Dec 1 17:50:32 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
[root@af9dfd50cdaa pulsar-beat-output]# go version
go version go1.15.6 linux/amd64
How to reproduce
docker run -it ttbb/base:goc bash
export GOPATH="/root/go"
mkdir -p $GOPATH/src/github.com/streamnative/
cd $GOPATH/src/github.com/streamnative/
git clone https://github.com/streamnative/pulsar-beat-output
cd pulsar-beat-output
go build -o filebeat main.go
shoothzj commented
Now I can compile well