New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
domitian opened this Issue Jul 14, 2015 · 1 comment

Comments

3 participants
@domitian
Copy link

domitian commented Jul 14, 2015

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

@pcdummy

This comment has been minimized.

Copy link

pcdummy commented Jul 14, 2015

Think you need to install lxc-dev.

@caglar10ur caglar10ur closed this Jul 14, 2015

@caglar10ur caglar10ur added the question label Jul 14, 2015

@caglar10ur caglar10ur self-assigned this Jul 14, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment