[Lxc-users] Problem with lxc-attach on Linux v3.1.0

Daniel Lezcano daniel.lezcano at free.fr
Thu Sep 8 17:09:53 UTC 2011


On 09/08/2011 06:48 PM, Nikhil Handigol wrote:
> Just to be sure that wasn't the case, I tried running the executable
> directly from the lxc source directory. I got the same error:
>
> $ cd src/lxc
> $ ./lxc-execute -n foo -f /etc/mn/host.conf -- /bin/bash
> root at mnhost:/home/nikhilh/lxc/src/lxc#

Yes but the library path is the system path, so to be sure, do:

type lxc-attach

for me that gives:
        lxc-attach is /usr/bin/lxc-attach

ldd /usr/bin/lxc-attach

and that gives:
        linux-vdso.so.1 =>  (0x00007fff3d56d000)
        liblxc.so.0 => /usr/lib64/liblxc.so.0 (0x00007f7d8359e000)
        libcap.so.2 => /lib/libcap.so.2 (0x00007f7d8336e000)
        libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f7d82fd9000)
        libutil.so.1 => /lib/x86_64-linux-gnu/libutil.so.1
(0x00007f7d82dd6000)
        /lib64/ld-linux-x86-64.so.2 (0x00007f7d837ca000)

So in your case, that should /usr/local/bin and /usr/local/lib/liblxc.so..





More information about the lxc-users mailing list