[Libguestfs] guestfsd: error while loading shared libraries in SUSE12
Richard W.M. Jones
rjones at redhat.com
Tue Mar 14 10:00:51 UTC 2017
On Tue, Mar 14, 2017 at 07:56:28AM +0000, Wang, Phoenix wrote:
> 1) The rpm package is installed : a
>
> rpm -qa |grep augeas
>
> libaugeas0-1.2.0-3.1.x86_64
>
> And the file is there:
>
> rpm -ql libaugeas0-1.2.0-3.1.x86_64
>
> /usr/lib64/libaugeas.so.0
>
> /usr/lib64/libaugeas.so.0.18.0
>
> /usr/lib64/libfa.so.1
>
> /usr/lib64/libfa.so.1.4.0
I can't add much to what Cedric already said, except to say that
the error message
> guestfsd --verbose
> guestfsd: error while loading shared libraries: libaugeas.so.0: cannot
> open shared object file: No such file or directory
is not about augeas on the host, but augeas in the appliance.
Try running:
$ virt-rescue --scratch
and then see if /usr/lib64/libaugeas.so.* exists. It probably won't,
which is the root cause of the error.
What should happen in theory is that `supermin --build' copies this
file into the appliance. You can test that out by doing:
$ supermin --build -v -f chroot \
/usr/lib64/guestfs/supermin.d -o /tmp/appliance
and see if /tmp/appliance/usr/lib64/libaugeas.so.* gets created.
If not, then add more -v options (-v -v -v) until you can see what's
going wrong.
Rich.
--
Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones
Read my programming and virtualization blog: http://rwmj.wordpress.com
virt-top is 'top' for virtual machines. Tiny program with many
powerful monitoring features, net stats, disk stats, logging, etc.
http://people.redhat.com/~rjones/virt-top
More information about the Libguestfs
mailing list