lxc / go-lxc

Go bindings for liblxc
https://linuxcontainers.org/lxc
Other
431 stars 76 forks source link

Package lxc was not found in the pkg-config search path #44

Closed domitian closed 9 years ago

domitian commented 9 years ago

Hi, i am trying to install go-lxc in my ubuntu system with the following command.

go get gopkg.in/lxc/go-lxc.v2

I am getting the following error, even though i installed lxc with 'sudo apt-get install lxc'

# pkg-config --cflags lxc
Package lxc was not found in the pkg-config search path.
Perhaps you should add the directory containing `lxc.pc'
to the PKG_CONFIG_PATH environment variable
No package 'lxc' found
exit status 1

When i do dpkg -l lxc, it is showing up there, but there is no executable by name 'lxc', only lxc-* are available. My machine is ubuntu 14.04

jochumdev commented 9 years ago

Think you need to install lxc-dev.