-
Notifications
You must be signed in to change notification settings - Fork 71
undefined: Connect,Domain,Interface .. #35
Comments
Those commands complete for me without any error, same go version as you, but on Fedora. |
hi @berrange what version of libvirt are you running? This feels like an issue with libvirt 4. |
Are any automated testing suites run against the libvirt 4 API? |
It works with any version of libvirt i try, including 4.2.0. Perhaps suspect some rogue Go related environment variable |
The version of libvirt involved has no bearing on whether the interfaces or methods exist - the code is conditionally built so missing methods will simply generate a runtime error when invoked. |
go env
|
This is suspicious: CGO_ENABLED="0" The Libvirt bindings use cgo. |
@berrange thanks a lot sir for your help. |
ENV
distro: 4.16.2-2-ARCH
(libvirt) 4.2.0
go1.10.1 linux/amd64
Problem
$ go get -u github.com/libvirt/libvirt-go
$ go test -tags api github.com/libvirt/libvirt-go
Trying to shed some light on this, andy help would be great.
ref: dmacvicar/terraform-provider-libvirt#280
The text was updated successfully, but these errors were encountered: