<div dir="ltr">Goodmornin,<div><br></div><div>Since I am running ubuntu I  did " nm -D /usr/lib64/libaugeas.so.0 | grep AUGEAS " and I didn't find "AUGEAS_0.16.0" , but I got this instead : </div><div><br></div><div><div>0000000000000000 A AUGEAS_0.1.0</div><div>0000000000000000 A AUGEAS_0.10.0</div><div>0000000000000000 A AUGEAS_0.11.0</div><div>0000000000000000 A AUGEAS_0.12.0</div><div>0000000000000000 A AUGEAS_0.14.0</div><div>0000000000000000 A AUGEAS_0.15.0</div><div>0000000000000000 A AUGEAS_0.8.0</div></div><div class="gmail_extra"><br></div><div class="gmail_extra">Also removed the tmp/.guestfs-1000 folder as you requested and then rerun ' make quickcheck' but still . <br><br></div><div class="gmail_extra">Hmm seems weird I downloaded and compiled successfully augeas library 1.4 version from the tarball , it's the latest version, correct me if I am not wrong ? </div><div class="gmail_extra"><br></div><div class="gmail_extra">Thanks for your time,</div><div class="gmail_extra"><br></div><div class="gmail_extra">Efstratos</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div><div class="gmail_extra"><div class="gmail_quote">On Sun, Oct 18, 2015 at 1:20 AM, Richard W.M. Jones <span dir="ltr"><<a href="mailto:rjones@redhat.com" target="_blank">rjones@redhat.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex"><span class="">On Sat, Oct 17, 2015 at 09:40:20PM +0300, Efstratios Skleparis wrote:<br>
> Dear all,<br>
><br>
> After successfully compiling libguestfs on XEN hypervisor [running<br>
> ubuntu server 12.04 x64bit] i tried to ./run libguestfs-test-tool<br>
> but I got this error:<br>
><br>
> guestfsd: /usr/lib/libaugeas.so.0: version `AUGEAS_0.16.0' not found<br>
> (required by guestfsd)<br>
<br>
</span>The error means the /usr/lib/libaugeas.so.0 copied into the appliance<br>
doesn't contain the AUGEAS_0.16.0 symbol versions.  Maybe it's some<br>
old version of the augeas library.<br>
<br>
If you run `nm -D /usr/lib/libaugeas.so.0' on the host you should<br>
hopefully see AUGEAS_0.16.0 somewhere in the output.  eg. on my Fedora<br>
machine (so slightly different) I see:<br>
<br>
$ nm -D /usr/lib64/libaugeas.so.0 | grep AUGEAS_0.16.0<br>
0000000000000000 A AUGEAS_0.16.0<br>
<br>
I see from your test that you're using supermin [good] to build the<br>
appliance, in the libguestfs build directory:<br>
<br>
> libguestfs: [00003ms] run supermin<br>
> libguestfs: command: run: /usr/local/bin/supermin<br>
> libguestfs: command: run: \ --build<br>
> libguestfs: command: run: \ --verbose<br>
> libguestfs: command: run: \ --if-newer<br>
> libguestfs: command: run: \ --lock /home/str/libguestfs-1.30.3/tmp/.guestfs-1000/lock<br>
> libguestfs: command: run: \ --copy-kernel<br>
> libguestfs: command: run: \ -f ext2<br>
> libguestfs: command: run: \ --host-cpu x86_64<br>
> libguestfs: command: run: \ /home/str/libguestfs-1.30.3/appliance/supermin.d<br>
> libguestfs: command: run: \ -o /home/str/libguestfs-1.30.3/tmp/.guestfs-1000/appliance.d<br>
> supermin: version: 5.1.13<br>
> supermin: package handler: debian/dpkg<br>
> supermin: acquiring lock on /home/str/libguestfs-1.30.3/tmp/.guestfs-1000/lock<br>
> supermin: if-newer: output does not need rebuilding<br>
<br>
In this case supermin is saying the appliance in<br>
/home/str/libguestfs-1.30.3/tmp/.guestfs-1000 is new enough so it<br>
doesn't need to rebuild it.<br>
<br>
It seems as if the /usr/lib/libaugeas.so.0 file cached in the<br>
appliance is too old for some reason, so you can try getting supermin<br>
to rebuild the appliance.<br>
<br>
Just do:<br>
<br>
  rm -rf /home/str/libguestfs-1.30.3/tmp/.guestfs-1000<br>
<br>
and rerun `make quickcheck'.<br>
<br>
If that doesn't fix the problem, you should run virt-rescue to<br>
open a shell on the appliance:<br>
<br>
  ./run virt-rescue --scratch<br>
<br>
and from the shell you can look inside the appliance to find out<br>
if libaugeas exists, is new enough and so on.  eg:<br>
<br>
  ><rescue> nm -D /usr/lib/libaugeas.so.0<br>
  ><rescue> ls -l /usr/lib/libaugeas.so.0<br>
  ><rescue> ldd /usr/sbin/guestfsd<br>
<br>
Rich.<br>
<span class=""><font color="#888888"><br>
--<br>
Richard Jones, Virtualization Group, Red Hat <a href="http://people.redhat.com/~rjones" rel="noreferrer" target="_blank">http://people.redhat.com/~rjones</a><br>
Read my programming and virtualization blog: <a href="http://rwmj.wordpress.com" rel="noreferrer" target="_blank">http://rwmj.wordpress.com</a><br>
virt-df lists disk usage of guests without needing to install any<br>
software inside the virtual machine.  Supports Linux and Windows.<br>
<a href="http://people.redhat.com/~rjones/virt-df/" rel="noreferrer" target="_blank">http://people.redhat.com/~rjones/virt-df/</a><br>
</font></span></blockquote></div><br></div></div>