From: Richard W.M. Jones <rjones@redhat.com>
To: THO HUYNH <feeliwood@yahoo.com>
Cc: libguestfs@redhat.com
Sent: Sunday, 25 March 2012, 17:35
Subject: Re: [Libguestfs] trouble compiling libguestfs 1.17.21
On Sun, Mar 25, 2012 at 11:06:55AM +0100, Richard W.M. Jones wrote:
> On Sun, Mar 25, 2012 at 02:57:50AM -0700, THO HUYNH wrote:
> > yes I`m using Fedora 16 with libguestfs version 1.16.5 already installed.
>
> I have a similar system so I'll try a build from the tarball now.
It builds OK for me here, which is not to say that it's not a bug (it
certainly looks like one) just that I cannot reproduce it.
If the symbol exported from the library? On my F16 machine, the
symbol is added correctly to the export script:
$ grep for_each src/libguestfs.syms
guestfs___for_each_disk;
and exported correctly from the
library:
$ nm -D src/.libs/libguestfs.so | grep for_each
00000000000704b0 T guestfs___for_each_disk
You could also try looking at the link command:
make -C df V=1
Rich.
PS.
I do see another, completely unrelated bug:
make[3]: Leaving directory `/home/rich/d/libguestfs-1.17.21/generator'
rake build
rake aborted!
no such file to load -- rdoc/task
(See full trace by running task with --trace)
which appears to caused by fd7a5a8bbdc69b9d2a92f6d05ac555334d0516bf.
--
Richard Jones, Virtualization Group, Red Hat
http://people.redhat.com/~rjoneslibguestfs lets you edit virtual machines. Supports shell scripting,
bindings from many languages.
http://libguestfs.org