[root@fr1 tmp]# cd /tmp
[root@fr1 tmp]# cpio -id < /usr/lib64/guestfs/supermin.d/daemon.img
cpio: sbin/guestfsd not created: newer or same age version exists
cpio: etc/guestfsd.suppressions not created: newer or same age version
exists
3629 blocks
[root@fr1 tmp]# ldd /tmp/sbin/guestfsd
linux-vdso.so.1 => (0x00007fff9e9d4000)
libacl.so.1 => /lib64/libacl.so.1 (0x00007f2689b64000)
libcap.so.2 => /lib64/libcap.so.2 (0x00007f2689960000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007f2689740000)
libaugeas.so.0 => /usr/lib64/libaugeas.so.0 (0x00007f26894f3000)
libhivex.so.0 => /usr/lib64/libhivex.so.0 (0x00007f26892e3000)
librt.so.1 => /lib64/librt.so.1 (0x00007f26890da000)
libpcre.so.0 => /lib64/libpcre.so.0 (0x00007f2688eae000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007f2688c98000)
libc.so.6 => /lib64/libc.so.6 (0x00007f2688903000)
libattr.so.1 => /lib64/libattr.so.1 (0x00007f26886fe000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007f26884fa000)
/lib64/ld-linux-x86-64.so.2 (0x00007f2689d77000)
libfa.so.1 => /usr/lib64/libfa.so.1 (0x00007f26882e3000)
libxml2.so.2 => /usr/lib64/libxml2.so.2 (0x00007f2687f88000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007f2687d6b000)
libz.so.1 => /lib64/libz.so.1 (0x00007f2687b54000)
liblzma.so.5 => /usr/lib64/liblzma.so.5 (0x00007f2687932000)
libm.so.6 => /lib64/libm.so.6 (0x00007f26876ae000)
[root@fr1 tmp]# eu-readelf -d /tmp/sbin/guestfsd | grep NEEDED
NEEDED Shared library: [libacl.so.1]
NEEDED Shared library: [libcap.so.2]
NEEDED Shared library: [libselinux.so.1]
NEEDED Shared library: [libaugeas.so.0]
NEEDED Shared library: [libhivex.so.0]
NEEDED Shared library: [librt.so.1]
NEEDED Shared library: [libpcre.so.0]
NEEDED Shared library: [libgcc_s.so.1]
NEEDED Shared library: [libc.so.6]
[root@fr1 tmp]#
On Mon, Mar 16, 2015 at 8:43 PM, Thirumalai Nambi <
thirumalai.sandy(a)gmail.com> wrote:
Hi,
Two doubts.
1. What I've to replace in "NEEDED"? or I need to just run the whole
command you given
2. You mean this one,
rpm -qa | grep libguestfs*
On Mon, Mar 16, 2015 at 5:35 PM, Richard W.M. Jones <rjones(a)redhat.com>
wrote:
> On Sat, Mar 14, 2015 at 11:14:55PM +0530, Thirumalai Nambi wrote:
> > Thanks for your update,
> >
> > I got the libguestfs packages from the centOS base repo and installed it
> > via yum.
> [...]
> > Do you think the issue related to the running kernel?
>
> No.
>
> I've no idea what's going on, and I cannot reproduce the problem
> myself.
>
> Can you do:
>
> cd /tmp
> cpio -id < /usr/lib64/guestfs/supermin.d/daemon.img
> ldd /tmp/sbin/guestfsd
> eu-readelf -d /tmp/sbin/guestfsd | grep NEEDED
>
> and:
>
> rpm -qa
>
> Rich.
>
> --
> Richard Jones, Virtualization Group, Red Hat
>
http://people.redhat.com/~rjones
> Read my programming and virtualization blog:
http://rwmj.wordpress.com
> virt-df lists disk usage of guests without needing to install any
> software inside the virtual machine. Supports Linux and Windows.
>
http://people.redhat.com/~rjones/virt-df/
>