leogazio
(Leonardo Gazio)
1
Hey there, I’m getting problems trying to install my library on GO on Ubuntu Mate 17, I get the below error;
leogazio@hlsatnotebook:~$ go install hlsat.com.br/funcoes_gerais
gowork/src/hlsat.com.br/funcoes_gerais/funcoes_gerais.go:14:2: cannot find package "golang.org/x/text/transform" in any of:
/usr/lib/go-1.7/src/golang.org/x/text/transform (from $GOROOT)
/home/leogazio/gowork/src/golang.org/x/text/transform (from $GOPATH)
gowork/src/hlsat.com.br/funcoes_gerais/funcoes_gerais.go:15:2: cannot find package "golang.org/x/text/unicode/norm" in any of:
/usr/lib/go-1.7/src/golang.org/x/text/unicode/norm (from $GOROOT)
/home/leogazio/gowork/src/golang.org/x/text/unicode/norm (from $GOPATH)
Does anyone know what happened?
Tnx.
oleg578
(Oleg578)
2
Try to remove golang package from system and install golang-1.7
golang-1.7
files list
leogazio
(Leonardo Gazio)
3
Thanks my friend. I just resolved it by now. I have now another error about one of the libraries I use, I’m trying
go get -v github.com/alexbrainman/odbc
But I get the following error;
github.com/alexbrainman/odbc/api/api_unix.go:13:18: fatal error: sql.h: No such file or directory
Tnx.
oleg578
(Oleg578)
4
The obstacle is deprecated packages in Ubuntu (if you know Ubuntu is Debian “fork”)
You can find instructions to install unixodbc before
https://github.com/alexbrainman/odbc/wiki/InstallingUnixODBC
Or switch to Arch Linux, for example
You can read also
https://github.com/alexbrainman/odbc/wiki/GettingStartedOnLinux
system
(system)
Closed
5
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.