简体   繁体   中英

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.

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM