Hi, Richard. Sure, ubuntu 11.10 is a quite new so treat this a beta-tester report :) I already have libvirt-dev, libpcre3-dev and libhivex-dev koder@koder-laptop:~/tmp/libguestfs-1.13.21$ dpkg -l | grep libvirt ii libvirt-bin 0.9.2-4ubuntu15 the programs for the libvirt library ii libvirt-dev 0.9.2-4ubuntu15 development files for the libvirt library ii libvirt0 0.9.2-4ubuntu15 library for interfacing with different virtualization systems ii libvirtodbc0 6.1.3+dfsg1-1ubuntu1 high-performance database - ODBC libraries ii python-libvirt 0.9.2-4ubuntu15 libvirt Python bindings koder@koder-laptop:~/tmp/libguestfs-1.13.21$ dpkg -l | grep libpcre ii libpcre3 8.12-3ubuntu2 Perl 5 Compatible Regular Expression Library - runtime files ii libpcre3:i386 8.12-3ubuntu2 Perl 5 Compatible Regular Expression Library - runtime files ii libpcre3-dev 8.12-3ubuntu2 Perl 5 Compatible Regular Expression Library - development files ii libpcrecpp0 8.12-3ubuntu2 Perl 5 Compatible Regular Expression Library - C++ runtime files koder@koder-laptop:~/tmp/libguestfs-1.13.21$ dpkg -l | grep libhive ii libhivex-dev 1.2.7-1build1 library for reading and writing Windows Registry hives ii libhivex0 1.2.7-1build1 library for reading and writing Windows Registry hives Thanks 2011/10/15 Richard W.M. Jones <rjones@redhat.com>:
On Sat, Oct 15, 2011 at 04:06:15PM +0300, KoDer wrote:
HI, All.
I face problems when try to use libguestfs in new ubuntu 11.10.
Hi:
I'll just say I haven't yet had time to play with 11.10 (hey, it only came out a few days ago, ok!)
1) My current version of libguest (1.12.0, binaries taken from libguestfs site) can't boot vm with new kernel.
This isn't really surprising. Because of the supermin appliance, the binaries only work on the precise distro they are compiled for. The libguestfs-test-tool output seems to confirm this.
2) I can't compile libguestfs from sources: make libguestfs-1.12.7 leads to: ......... CC libguestfs_la-virt.lo In file included from virt.c:38:0: guestfs.h:1737:51: error: unknown type name 'virDomainPtr'
This is a proper bug though. You should not need 'libvirt-dev' to compile libguestfs. You can try installing 'libvirt-dev' as a workaround, but really we should fix this.
[...]
../src/.libs/libguestfs.so: undefined reference to `guestfs___case_sensitive_path_silently' ../src/.libs/libguestfs.so: undefined reference to `guestfs___search_for_root' ../src/.libs/libguestfs.so: undefined reference to `guestfs___download_to_tmp'
... and possibly 'libhivex-dev' and 'libpcre-dev' too.
Rich.
-- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones New in Fedora 11: Fedora Windows cross-compiler. Compile Windows programs, test, and build Windows installers. Over 70 libraries supprt'd http://fedoraproject.org/wiki/MinGW http://www.annexia.org/fedora_mingw
-- K.Danilov aka koder ICQ:214286120 Skype:koder.ua Tel:+38-050-4030512