Closed DilipRenkila closed 8 years ago
What OS are your trying to build this on?
ubuntu 16.04
I'm unable to reproduce this, both a straight "go build" in the directory or a clean build from scratch with:
mkdir /tmp/go
export GOPATH=/tmp/go
go get -v -x github.com/lxc/lxd-demo-server
Work fine here.
The error you're reporting would be consistent with you not having a built go-sqlite3 for some reason but I'm on 16.04 and it's all working fine here.
It works fine.
container: "my-base-container" image: "my-image"
Do i need to create an container and then substitute the container's name in the above ?
Yep, or not set it and set the image instead. It's one or the other, pick what you prefer.
$ go build
_/home/dilip/lxd-demo-server ./db.go:158: undefined: sqlite3 in sqlite3.ErrLocked ./db.go:158: undefined: sqlite3 in sqlite3.ErrBusy please can you explain me why this error happens?