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

Re: [Libguestfs] libguestfs binaries missing when built from source code


We installed it from the source code. The thing is, the already available customized version for libguestfs on rhel6 was 1.30.3 and I tried to add the ocaml just for that virt-resize binary.
Any idea how should I now proceed with this?

Emlyn Jose

-----Original Message-----
From: Pino Toscano [mailto:ptoscano redhat com]
Sent: 17 August 2017 16:50
To: libguestfs redhat com
Cc: Emlyn Jose (GIS) <emlyn jose wipro com>; Richard W.M. Jones <rjones redhat com>
Subject: Re: [Libguestfs] libguestfs binaries missing when built from source code

On Thursday, 17 August 2017 12:54:19 CEST emlyn jose wipro com wrote:
> Hello Richard!
> Another problem came up today while working on it:
> [INFO] >>> Resizing qcow image...
> [INFO] >>> Executing: cp AirFrameVirtualized-3.0.76999.qcow2 image.tmp
> [INFO] >>> Executing: qemu-img resize -f qcow2
> AirFrameVirtualized-3.0.76999.qcow2 10G Image resized.
> [INFO] >>> Executing: virt-resize --expand /dev/sda1 image.tmp AirFrameVirtualized-3.0.76999.qcow2
> [   0.0] Examining image.tmp
> libguestfs: trace: set_verbose true
> libguestfs: trace: set_verbose = 0
> libguestfs: trace: set_path "/opt/libguestfs/x86_64/1.30.3/lib/guestfs/appliance:"
> libguestfs: trace: set_path = 0
> libguestfs: create: flags = 0, handle = 0xfa6c90
> virt-resize: symbol lookup error: virt-resize: undefined symbol:
> guestfs_int_safe_malloc

No, it looks like the version of libguestfs (the shared library) and the tools are not in sync.  Did you install it from sources, or from self-built packages?

Pino Toscano
The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com

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