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

Re: [Libguestfs] Building from source with custom gperf location

On Sun, May 02, 2021 at 12:14:19AM +0100, Lewis Gaul wrote:
> LIBRARY_PATH=~/.local/lib64 doesn't seem to work either unfortunately (still
> unable to find libmagic). Any other ideas (even if I need to edit a file and
> rerun autoconf or something)?
>     Unfortunately m4/guestfs-libraries.m4 is using AC_CHECK_LIB instead of
>     PKG_CHECK_MODULES, so you cannot just set PKG_CONFIG_* environment
>     variables to pick up the right libmagic.pc (which is a bug in
>     libguestfs).

Take a look at m4/guestfs-libraries.m4 and change the AC_CHECK_LIB to
PKG_CHECK_MODULES, following examples of other package tests in that
file, then re-run "autoconf".


Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-p2v converts physical machines to virtual machines.  Boot with a
live CD or over the network (PXE) and turn machines into KVM guests.

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