[lxc-users] error while loading shared libraries: liblxc.so.1

Phiho Hoang hohoangphi at gmail.com
Sun May 25 05:45:28 UTC 2014


Dear List,

This is my environment:

$ uname -a
Linux lxc1 3.13.0-24-generic #47-Ubuntu SMP Fri May 2 23:30:00 UTC 2014
x86_64 x86_64 x86_64 GNU/Linux

 `./autogen.sh; ./configure; make; sudo make install' seem to complete
successfully.

However:

$ sudo lxc-create --version
lxc-create: error while loading shared libraries: liblxc.so.1: cannot open
shared object file: No such file or directory

'liblxc.so*' seem to exist:

$ ls -l /usr/local/lib/liblxc.so*
total 1740
lrwxrwxrwx 1 root root       11 May 25 01:16 liblxc.so -> liblxc.so.1
lrwxrwxrwx 1 root root       15 May 25 01:16 liblxc.so.1 -> liblxc.so.1.0.0
-rwxr-xr-x 1 root root  1754956 May 25 01:16 liblxc.so.1.0.0

and '/usr/local/lib' is in LD_LIBRARY_PATH:

$ echo $LD_LIBRARY_PATH
:/usr/local/lib:/usr/lib:/lib

Thank you for your help.

Best regards,

PhiHo
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.linuxcontainers.org/pipermail/lxc-users/attachments/20140525/cc807e77/attachment.html>


More information about the lxc-users mailing list