Open rjetty opened 2 years ago
I am also facing the same error when I am building the executable.
root@ubuntuclient:~/oDOH/odoh-client-go-master# go build -o odoh-client ./cmd/... cmd/odoh-client.go:9:2: cannot find package "github.com/cloudflare/odoh-client-go/commands" in any of: /usr/lib/go-1.10/src/github.com/cloudflare/odoh-client-go/commands (from $GOROOT) /root/go/src/github.com/cloudflare/odoh-client-go/commands (from $GOPATH) cmd/odoh-client.go:10:2: cannot find package "github.com/urfave/cli" in any of: /usr/lib/go-1.10/src/github.com/urfave/cli (from $GOROOT) /root/go/src/github.com/urfave/cli (from $GOPATH)
How are you able to solve this issue?
Looks like it is an issue with Ubuntu, I am able to build the client on centos.
I am seeing below errors on my ubuntu machine
root@doh-client:~/odoh-client-go# go build -o odoh-client ./cmd/... cmd/odoh-client.go:9:2: cannot find package "github.com/cloudflare/odoh-client-go/commands" in any of: /usr/src/github.com/cloudflare/odoh-client-go/commands (from $GOROOT) /root/go/src/github.com/cloudflare/odoh-client-go/commands (from $GOPATH) cmd/odoh-client.go:10:2: cannot find package "github.com/urfave/cli" in any of: /usr/src/github.com/urfave/cli (from $GOROOT) /root/go/src/github.com/urfave/cli (from $GOPATH)