Skip to content
New issue

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

Fresh installation of dial-in and dial-out clients is broken due to lack of translib #30

Open
samgoodman opened this issue Apr 21, 2020 · 1 comment

Comments

@samgoodman
Copy link

Using the installation methods in the Readme causes "go get" to fail because translib can't be found.

sagoodma@str-samg-01:~$ sudo go get -u github.com/Azure/sonic-telemetry/dialout/dialout_client_cli
package github.com/Azure/sonic-telemetry/translib: cannot find package "github.com/Azure/sonic-telemetry/translib" in any of:
        /usr/lib/go-1.14/src/github.com/Azure/sonic-telemetry/translib (from $GOROOT)
        /home/sagoodma/go/src/github.com/Azure/sonic-telemetry/translib (from $GOPATH)
sagoodma@str-samg-01:~$ sudo go get -u github.com/Azure/sonic-telemetry/telemetry
package github.com/Azure/sonic-telemetry/translib: cannot find package "github.com/Azure/sonic-telemetry/translib" in any of:
        /usr/lib/go-1.14/src/github.com/Azure/sonic-telemetry/translib (from $GOROOT)
        /home/sagoodma/go/src/github.com/Azure/sonic-telemetry/translib (from $GOPATH)

Another user with the same issue: sonic-net/sonic-buildimage#3976

This is with a fresh go install running the latest 1.14 version on a brand new Ubuntu VM.

sagoodma@str-samg-01:~$ go env
GO111MODULE="on"
GOARCH="amd64"
GOBIN="/bin"
GOCACHE="/home/sagoodma/.cache/go-build"
GOENV="/home/sagoodma/.config/go/env"
GOEXE=""
GOFLAGS=""
GOHOSTARCH="amd64"
GOHOSTOS="linux"
GOINSECURE=""
GONOPROXY=""
GONOSUMDB=""
GOOS="linux"
GOPATH="/home/sagoodma/go"
GOPRIVATE=""
GOPROXY="https://proxy.golang.org,direct"
GOROOT="/usr/lib/go-1.14"
GOSUMDB="sum.golang.org"
GOTMPDIR=""
GOTOOLDIR="/usr/lib/go-1.14/pkg/tool/linux_amd64"
GCCGO="gccgo"
AR="ar"
CC="gcc"
CXX="g++"
CGO_ENABLED="1"
GOMOD="/dev/null"
CGO_CFLAGS="-g -O2"
CGO_CPPFLAGS=""
CGO_CXXFLAGS="-g -O2"
CGO_FFLAGS="-g -O2"
CGO_LDFLAGS="-g -O2"
PKG_CONFIG="pkg-config"
GOGCCFLAGS="-fPIC -m64 -pthread -fmessage-length=0 -fdebug-prefix-map=/tmp/go-build680622005=/tmp/go-build -gno-record-gcc-switches"
@ganglyu ganglyu transferred this issue from sonic-net/sonic-telemetry Aug 31, 2022
@sneelam20
Copy link
Contributor

Is this issue still relevant?

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

No branches or pull requests

2 participants