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

Re: [Libguestfs] Libguestfs with Yara rules error

On Tue, Dec 10, 2019 at 09:19:47AM +0100, Luis wrote:
> I am using libguestfs 1.40.2 and yara 3.11.0 but when I execute my program
> it thoughts the following error:
> $> ./yara-guestfs
> libguestfs: error: yara_load: feature 'libyara' is not available in this
> build of libguestfs.  Read 'AVAILABILITY' in the guestfs(3) man page for
> If we check the manual, in guestfs appears guestfs_yara_load function so
> libyara is installed. I installed and compiled it from tarballs.

This function:


returns 1 if HAVE_YARA is defined.  This is defined by this
./configure test:


In other words it depends how libguestfs was configured.  Where
did you get libguestfs from?  How was it compiled?


Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-df lists disk usage of guests without needing to install any
software inside the virtual machine.  Supports Linux and Windows.

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