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

Compile fails with undefined: cloneTLSConfig #712

Closed
pedromorgan opened this issue Nov 26, 2017 · 6 comments
Closed

Compile fails with undefined: cloneTLSConfig #712

pedromorgan opened this issue Nov 26, 2017 · 6 comments

Comments

@pedromorgan
Copy link

Issue description

Error with go-sql-driver/mysql/utils.go:81: undefined: cloneTLSConfig

go get -v -u github.com/go-sql-driver/mysql
github.com/go-sql-driver/mysql (download)
github.com/go-sql-driver/mysql
# github.com/go-sql-driver/mysql
../../../github.com/go-sql-driver/mysql/utils.go:81: undefined: cloneTLSConfig

Configuration

Driver version (or git SHA):
?

Go version: run go version in your console
1.6

Server version: E.g. MySQL 5.6, MariaDB 10.0.20
MySQL 5.6

Server OS: E.g. Debian 8.1 (Jessie), Windows 10
Debian 7

@julienschmidt
Copy link
Member

Go 1.7 or higher is required for this package.

@fabricebsi
Copy link

Hi,
I'm sorry to reply but I still have this problem with go 1.9
Did anyone find another solution to this?

Thank you

@alabastida
Copy link

Currently having this problem on App Engine (using flexible environment), my gopath is good, other stuff works, go version 1.9.1, and still that cloneTLSConfig error

@methane
Copy link
Member

methane commented Feb 19, 2018

Complete step to reproduce????

@martin-dos-santos
Copy link

Same issue here @alabastida, I'm using Ubuntu 16.04.3 LTS and Go 1.10.

My $GOPATH is $HOME/go which is /home/martin/go within my terminal.

Steps to reproduce:
Run go get github.com/go-sql-driver/mysql

@methane
Copy link
Member

methane commented Mar 5, 2018

@mdsantosdev I can't reproduce, with both of Go 1.9 and 1.10.

  1. Paste output of go version and go env to gist.
  2. Try clean install (mv $GOPATH gopath_back)

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

6 participants