[Libguestfs] question about guestfs_add_drive_opts_blocksize

Richard W.M. Jones rjones at redhat.com
Tue Mar 30 16:37:55 UTC 2021


On Mon, Mar 29, 2021 at 12:32:52PM -0600, Stefan Fiala wrote:
> !!Thanks for the help
> 
> [option 12 is the blocksize from the new version, tacked into the example code].
> Still looks like its linked against the original/old libguestfs.
> Can I make a new libguestfs.so from the libguestfs.a and point to it locally?

I'm not really sure I understand the question.  libguestfs when
building from source defaults to building a shared library, and the
./run script sets up LD_LIBRARY_PATH (and other environment variables)
to use it.  I suggest taking a look at the ./run script itself since
it's very simple.

Rich.

-- 
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
libguestfs lets you edit virtual machines.  Supports shell scripting,
bindings from many languages.  http://libguestfs.org




More information about the Libguestfs mailing list