This repository was archived by the owner on Jan 21, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 267
This repository was archived by the owner on Jan 21, 2020. It is now read-only.
make binaries error : 'libvirt not found' #713
Copy link
Copy link
Closed
Description
I'm trying to install infrakit for the first time but when I follow the documentation, I have an error at the "make binaries" step :
user@machine:~/go/src/github.com/docker/infrakit$ make binaries
+ clean
rm -rf build
mkdir -p build
go build -o build/infrakit -ldflags "-X github.com/docker/infrakit/pkg/cli.Version=961825e -X github.com/docker/infrakit/pkg/cli.Revision=961825e353ede61c54b1083258fcf94dc3ee0ebd -X github.com/docker/infrakit/pkg/util/docker.ClientVersion=1.24" github.com/docker/infrakit/cmd/infrakit
# pkg-config --cflags libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt libvirt
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
Package libvirt was not found in the pkg-config search path.
Perhaps you should add the directory containing `libvirt.pc'
to the PKG_CONFIG_PATH environment variable
No package 'libvirt' found
[...]
pkg-config: exit status 1
Makefile:99 : la recette pour la cible « build/infrakit » a échouée
make: *** [build/infrakit] Erreur 2
My environment :
# docker version
Client:
Version: 17.09.0-ce
API version: 1.32
Go version: go1.8.3
Git commit: afdb6d4
Built: Tue Sep 26 22:42:18 2017
OS/Arch: linux/amd64
Server:
Version: 17.09.0-ce
API version: 1.32 (minimum version 1.12)
Go version: go1.8.3
Git commit: afdb6d4
Built: Tue Sep 26 22:40:56 2017
OS/Arch: linux/amd64
Experimental: false
# docker info
Containers: 11
Running: 0
Paused: 0
Stopped: 11
Images: 42
Server Version: 17.09.0-ce
Storage Driver: aufs
Root Dir: /home/docker/aufs
Backing Filesystem: extfs
Dirs: 111
Dirperm1 Supported: true
Logging Driver: json-file
Cgroup Driver: cgroupfs
Plugins:
Volume: local nvidia-docker
Network: bridge host macvlan null overlay
Log: awslogs fluentd gcplogs gelf journald json-file logentries splunk syslog
Swarm: inactive
Runtimes: runc
Default Runtime: runc
Init Binary: docker-init
containerd version: 06b9cb35161009dcb7123345749fef02f7cea8e0
runc version: 3f2f8b84a77f73d38244dd690525642a72156c64
init version: 949e6fa
Security Options:
apparmor
seccomp
Profile: default
Kernel Version: 4.4.0-96-generic
Operating System: Ubuntu 16.04.3 LTS
OSType: linux
Architecture: x86_64
CPUs: 8
Total Memory: 15.58GiB
Name: msi
ID: MVRZ:YX7N:27AC:AAUF:GHLT:PGQO:HBOG:T3QR:OVNR:ZSHT:IX5R:ELQW
Docker Root Dir: /home/docker
Debug Mode (client): false
Debug Mode (server): false
Username: yogeek
Registry: https://index.docker.io/v1/
Experimental: false
Insecure Registries:
127.0.0.0/8
Live Restore Enabled: false
WARNING: No swap limit support
# go version
go version go1.9.1 linux/amd64
# uname -a
Linux msi 4.4.0-96-generic #119-Ubuntu SMP Tue Sep 12 14:59:54 UTC 2017 x86_64 x86_64 x86_64 GNU/Linux
Metadata
Metadata
Assignees
Labels
No labels