Hi guys,
I've struggled in this error for 1 week and your help is really appreciated. As one
EMC software engineer, I need to setup the libguestfs tool in SUSE12 ( SUSE11SP4 is also
OK, while SUSE12 is preferred ) to mount some qcow2 image from openstack environment.
Then we can read its file system architecture and restore some files.
1. The first thing is we build one SUSE appliance from
susestudio.com. For
libguestfs/libguestfs0/guestfstools , SUSE studio only provide 1.26.9 version. After
download SUSE12 appliance and try to start our task by "guestmount" , we get
this error:
According to this page
(
http://libguestfs.org/guestfs-faq.1.html#libguestfs:-error:-cannot-find-a...
), on SUSE we can only upgrade to higher version of libguestfs to resolve this issue,
right ?
Do we have any method to bypass this error on libguestfs 1.26.9 version ?
"sudo update-guestfs-appliance" is not used by SUSE.
2. To install libguestfs 1.32 version on SUSE is painful process :) I have
searched many websites and try to install below RPM packages :
rpm -qa --last
guestfs-tools-1.32.4-230.6.x86_64 Wed Mar 8 01:23:15 2017
e2fsprogs-1.42.9-63.1.x86_64 Tue Mar 7 10:18:14 2017
python-evtx-0.3.1-2.5.noarch Tue Mar 7 09:51:37 2017
python-libguestfs-1.32.4-230.6.x86_64 Tue Mar 7 09:26:41 2017
perl-Sys-Guestfs-1.32.4-230.6.x86_64 Tue Mar 7 09:26:17 2017
libguestfs0-1.32.4-230.6.x86_64 Tue Mar 7 09:25:24 2017
supermin-5.1.13-14.3.x86_64 Tue Mar 7 09:24:56 2017
xmlstarlet-1.6.1-2.11.x86_64 Tue Mar 7 09:24:10 2017
libxslt1-1.1.29-2.14.x86_64 Tue Mar 7 09:23:39 2017
guestfs-data-1.32.4-230.6.x86_64 Tue Mar 7 09:13:57 2017
fuse-2.9.5-74.1.x86_64 Tue Mar 7 08:38:08 2017
And I get below strange error ( detail error information is in attachment) :
guestfsd: error while loading shared libraries: libaugeas.so.0: cannot open shared
object file: No such file or directory
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
2) And I also run ldconfig -p command and we can see libaugeas.so.0 is registered.
3) Is there any impact for the account to run this program ? I use root and also
update the /etc/libvirt/qemu.conf to uncomment "user = root".
I really have no idea why this issue comes. Do you have idea or suggestion ?
Thanks a lot !
To be or not to be, that's the question.
Phoenix Wang
EMC China COE Chengdu Center
T: +86 (28) 8296 6862