[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

[Libguestfs] shared library path



Hi Rich,

I meet below thing,

[root 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 gaowanlong libguestfs]# ln -s /usr/local/lib/libguestfs.so.0 /usr/lib64/libguestfs.so.0
[root 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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]