[Libguestfs] libguestfs-test-tool error, libcap.so - no such file

Skippy VonDrake skippyvondrake at gmail.com
Wed Jan 16 21:12:21 UTC 2013


Did install from source of libguestfs-1.20.1 on Ubuntu-12.10.
And libguestfs-test-tool complains about not finding libcap.so.2

uptime: 2.26 1.00
guestfsd: error while loading shared libraries: libcap.so.2: cannot
open shared object file: No such file or directory
[    2.277795] Unregister pv shared memory for cpu 0
[    2.278324] kvm: exiting hardware virtualization
[    2.278763] sd 2:0:1:0: [sdb] Synchronizing SCSI cache
[    2.284494] sd 2:0:0:0: [sda] Synchronizing SCSI cache
[    4.224797] Disabling non-boot CPUs ...
[    4.225182] Restarting system.
[    4.225467] machine restart

Full output at: http://pastebin.com/csndiF2A

$  sudo find / -name 'libcap.so*' | xargs ls -lh
/lib/i386-linux-gnu/libcap.so.2 -> libcap.so.2.22
/lib/i386-linux-gnu/libcap.so.2.22
/lib/x86_64-linux-gnu/libcap.so -> libcap.so.2
/lib/x86_64-linux-gnu/libcap.so.2 -> libcap.so.2.22
/lib/x86_64-linux-gnu/libcap.so.2.22

Rich, I know that you've stated in the past that you don't do 'install' and
refer to the run scripts and the README file in response to problems
installing libguestfs on Ubuntu.

Should an install of libguestfs be considered as a "do at your own
risk" endeavor?
Putting it in the quasi-support realm?

And is the appliance trying to find libcap.so on the host or within
the appliance when it fails?

Skippy




More information about the Libguestfs mailing list