We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
go install failed
chc@dc03:~/git/biedatransfer$ go install github.com/alufers/biedatransfer # github.com/hosom/gomagic ../../go/pkg/mod/github.com/hosom/[email protected]/magic.go:7:10: fatal error: magic.h: No such file or directory #include <magic.h> ^~~~~~~~~ compilation terminated.
go build also failed
chc@dc03:~/git/biedatransfer$ go build . go: downloading github.com/ip2location/ip2location-go v8.3.0+incompatible go: downloading github.com/gin-gonic/gin v1.7.1 go: downloading github.com/c2h5oh/datasize v0.0.0-20200825124411-48ed595a09d2 go: downloading github.com/logrusorgru/aurora v2.0.3+incompatible go: downloading github.com/hosom/gomagic v0.0.0-20160718182707-cbc00aac97a4 go: downloading github.com/pin/tftp v2.1.0+incompatible go: downloading github.com/fsnotify/fsnotify v1.4.7 go: downloading github.com/pelletier/go-toml v1.2.0 go: downloading github.com/spf13/afero v1.1.2 go: downloading github.com/spf13/pflag v1.0.3 go: downloading gopkg.in/yaml.v2 v2.2.8 go: downloading golang.org/x/sys v0.0.0-20200116001909-b77594299b42 go: downloading github.com/golang/protobuf v1.3.3 # github.com/hosom/gomagic ../../go/pkg/mod/github.com/hosom/[email protected]/magic.go:7:10: fatal error: magic.h: No such file or directory #include <magic.h> ^~~~~~~~~ compilation terminated.
The text was updated successfully, but these errors were encountered:
I think you need to install libmagic, for example:
sudo apt-get install libmagic-dev
Sorry, something went wrong.
No branches or pull requests
go install failed
go build also failed
The text was updated successfully, but these errors were encountered: