[Libguestfs] shared library path

Wanlong Gao gaowanlong at cn.fujitsu.com
Tue Jun 26 06:45:36 UTC 2012


Hi Rich,

I meet below thing,

[root at gaowanlong libguestfs]# virt-sysprep --help
virt-sysprep: error while loading shared libraries: libguestfs.so.0: cannot open shared object file: No such file or directory
[root at gaowanlong libguestfs]# ln -s /usr/local/lib/libguestfs.so.0 /usr/lib64/libguestfs.so.0
[root at gaowanlong libguestfs]# virt-sysprep --help
virt-sysprep: reset or unconfigure a virtual machine so clones can be made

 virt-sysprep [--options] -d domname

 virt-sysprep [--options] -a disk.img [-a disk.img ...]

A short summary of the options is given below.  For detailed help please
read the man page virt-sysprep(1).

  -a file               Add disk image file
  --add file            Add disk image file
  -c uri                Set libvirt URI
  --connect uri         Set libvirt URI
  -d domain             Set libvirt guest name
  --debug-gc            Debug GC and memory allocations (internal)
.....

We installed the lib to the wrong path?

Thanks,
Wanlong Gao




More information about the Libguestfs mailing list