Re: [Libguestfs] Build libguestfs error with undefined reference to `guestfs_int_init_libvirt_backend'
[Please keep all replies on the list.] On Fri, Oct 16, 2015 at 03:01:42AM +0300, Efstratios Skleparis wrote:
Dear Richard,
Yes I do have libvirt-dev installed already and virsh --version was : 0.9.8 !
- I tried to comment out the lines but still i got some errors due to that [ undeclared variables etc. ]
- Made changes to files :
src/guestfs-internal.h
src/launch-libvirt.c
src/launch.c
As you mentioned on the patch but still had errors on building the library..
Didn't save the error output because the solution was just to update libvirt , 0.9.8 version to a latter one has that bug as it seemed..
I chose to update from 0.9.8 to 1.2.20 from tarball and finally I could build the library -> ./configure && make worked like charm [took like 6-8 mins though : P] !!
Thanks again for your time and your fast response !
-- 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. http://people.redhat.com/~rjones/virt-df/
participants (1)
-
Richard W.M. Jones