Re: Can't successfully start libvirtd service

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

 



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@xxxxxxxxxx>
To: "libvir" <libvir-list@xxxxxxxxxx>
Sent: Wednesday, September 12, 2012 6:11:12 PM
Subject:   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@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

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


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]