valyala / gozstd

go wrapper for zstd
MIT License
420 stars 60 forks source link

go get complains about missing gcc #19

Closed jarifibrahim closed 4 years ago

jarifibrahim commented 4 years ago

Running go get complains about missing gcc

root@ba0ab0d66064:/# go get -v github.com/valyala/gozstd
github.com/valyala/gozstd (download)
github.com/valyala/gozstd
# github.com/valyala/gozstd
exec: "gcc": executable file not found in $PATH

Is this expected? I thought gcc is not necessary since the repository already contains the *.a files.

valyala commented 4 years ago

It looks like gcc in required for cgo code :(

jarifibrahim commented 4 years ago

Thanks @valyala