Skip to content
This repository has been archived by the owner on Oct 26, 2023. It is now read-only.

Errors during "go build -o odoh-client ./cmd/..." #25

Open
rjetty opened this issue Jun 7, 2022 · 2 comments
Open

Errors during "go build -o odoh-client ./cmd/..." #25

rjetty opened this issue Jun 7, 2022 · 2 comments

Comments

@rjetty
Copy link

rjetty commented Jun 7, 2022

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)

@anilchowdary2050
Copy link

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?

@anilchowdary2050
Copy link

Looks like it is an issue with Ubuntu, I am able to build the client on centos.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants