[Libguestfs] error in virt-resize

Richard W.M. Jones rjones at redhat.com
Wed Jan 6 22:05:30 UTC 2016


On Wed, Jan 06, 2016 at 11:37:53PM +0200, Keresztes Péter-Zoltán wrote:
> Version of libguestfs is 1.20. Running on Debian wheezy. It was compiled from source downloaded from the official page.

That version is 2½ years old ...

> >> server-12 (out): Fatal error: exception Guestfs.Error("part_get_parttype: parted print: /dev/sda: parted: error while loading shared libraries: libparted.so.0: cannot open shared object file: No such file or directory")

The error means that for some reason libparted.so.0 hasn't been
included in the appliance.  It's hard to say exactly why - I'd need to
see the full build log and the full log from 'libguestfs-test-tool'.

You might try exploring the appliance using:

  ./run ./rescue/virt-rescue --scratch
  ><rescue> ls -l /usr/lib/
  etc.

Appliance building is much more robust with supermin 5 & more recent
versions of libguestfs.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
Fedora Windows cross-compiler. Compile Windows programs, test, and
build Windows installers. Over 100 libraries supported.
http://fedoraproject.org/wiki/MinGW




More information about the Libguestfs mailing list