[PATCH] fix error on loading libvirt_driver_qemu.so

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

 



When start up libvirtd, it gives error like this(wrapped):

2012-08-02 06:59:03.414+0000: 5463: error :
  virDriverLoadModule:78 : failed to load module
  /usr/lib64/libvirt/connection-driver/libvirt_driver_qemu.so
  /usr/lib64/libvirt/connection-driver/libvirt_driver_qemu.so:
  undefined symbol: virSecurityManagerGetProcessLabel
2012-08-02 06:59:03.415+0000: 5463: error :
  virDriverLoadModule:78 : failed to load module
  /usr/lib64/libvirt/connection-driver/libvirt_driver_lxc.so
  /usr/lib64/libvirt/connection-driver/libvirt_driver_lxc.so:
  undefined symbol: virSecurityManagerGetProcessLabel

This patch fixes the problem.

---
 src/Makefile.am |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/Makefile.am b/src/Makefile.am
index b48ce65..c8f3e18 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -831,7 +831,8 @@ endif
 if WITH_QEMU
 noinst_LTLIBRARIES += libvirt_driver_qemu_impl.la
 libvirt_driver_qemu_la_SOURCES =
-libvirt_driver_qemu_la_LIBADD = libvirt_driver_qemu_impl.la
+libvirt_driver_qemu_la_LIBADD = libvirt_driver_qemu_impl.la \
+                                libvirt_driver_security.la
 if WITH_DRIVER_MODULES
 mod_LTLIBRARIES += libvirt_driver_qemu.la
 libvirt_driver_qemu_la_LIBADD += ../gnulib/lib/libgnu.la
-- 
1.7.10.2

--
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]