sukrit6
sukrit6

Reputation: 11

Linux Containers lxc-create

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

Answers (1)

Diego Mora Cespedes
Diego Mora Cespedes

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

Related Questions