[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [libvirt] Can't successfully start libvirtd service



Pkrempa help me find a root reason, I have two instances of the library
on my host now:

# nm -A -D /usr/lib64/libvirt.so.0.10.1 | grep "LIBVIRT_0.10."
/usr/lib64/libvirt.so.0.10.1:0000000000000000 A LIBVIRT_0.10.0

# nm -A -D /usr/lib/libvirt.so.0.10.1 | grep "LIBVIRT_0.10."
/usr/lib/libvirt.so.0.10.1:0000000000000000 A LIBVIRT_0.10.0
/usr/lib/libvirt.so.0.10.1:0000000000000000 A LIBVIRT_0.10.2


It's not enough to run ./configure with --prefix=/usr, also should
append --libdir=/usr/lib64 or use ./autogen --system, a weird question
is ./configure --prefix=/usr worked well for me ago.

Pkrempa, thanks a lot!

-- 
Regards,     
Alex


----- Original Message -----
From: "Alex Jia" <ajia redhat com>
To: "libvir" <libvir-list redhat com>
Sent: Wednesday, September 12, 2012 6:11:12 PM
Subject: [libvirt]  Can't successfully start libvirtd service

Hi all,
I compiled and installed libvirt from upstream, but I can't successfully
start libvirtd service recently, for details, please see the following steps:

# ./bootstrap && ./configure --prefix=/usr && make && make install

Notes, everything is okay.

# service libvirtd restart
Stopping libvirtd daemon:                                  [FAILED]
Starting libvirtd daemon: libvirtd: /usr/lib64/libvirt.so.0: version `LIBVIRT_0.10.2' not found (required by libvirtd)
                                                           [FAILED]

# ll /usr/lib64/libvirt.so.0
lrwxrwxrwx. 1 root root 17 Sep  3 19:26 /usr/lib64/libvirt.so.0 -> libvirt.so.0.10.1

# ll src/.libs/libvirt.so.0
lrwxrwxrwx. 1 root root 17 Sep 12 17:58 src/.libs/libvirt.so.0 -> libvirt.so.0.10.1

Notes, I can't find a libvirt.so.0.10.2 under the /usr/lib64/ or src/.libs/.


Is 'LIBVIRT_0.10.2' a error version? thanks.


-- 
Regards,     
Alex


--
libvir-list mailing list
libvir-list redhat com
https://www.redhat.com/mailman/listinfo/libvir-list


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]