Reputation: 11
I've been trying to work on Linux Containers (lxc). Post installation, I tried to create a container. I'm working on Ubuntu 14.04, with lxc-1.1.1. I'm prompted with this error when i try to create a new container :
lxc-create: error while loading shared libraries: liblxc.so.1: cannot open shared object file: no such file or directory. Any help in overcoming this problem is appreciated.
Upvotes: 0
Views: 1895
Reputation: 3862
You need to add /usr/local/lib to your LD_LIBRARY_PATH environment variable.
Try export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
and then try lxc-create
again.
Upvotes: 1