Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Mirai botnet golang fix for educational purposes only!
- ;New version goLang was released and there isn't a library for it yet so that's why you're getting the "go/src/github.com/go-sql-driver/mysql/utils.go:806: undefined: atomic.Value" error this is the fix.
- sudo apt-get install curl git mercurial make binutils bison gcc build-essential -y
- bash < <(curl -s -S -L https://raw.githubusercontent.com/moovweb/gvm/master/binscripts/gvm-installer)
- gvm install go1.4
- gvm use go1.4 [--default]
- gvm install go1.4 -B
- gvm use go1.4
- export GOROOT_BOOTSTRAP=$GOROOT
- gvm install go1.5
- gvm use go1.5
- go get github.com/go-sql-driver/mysql
- go get github.com/mattn/go-shellwords
Advertisement
Add Comment
Please, Sign In to add comment