[virt-tools-list] libvirt 0.7.2 linker issues

Laurent Léonard laurent at open-minds.org
Mon Oct 19 12:54:56 UTC 2009


Hi,

I'm trying to package libvirt 0.7.2 for Debian and get some linker issues :

make[3]: Entering directory `/home/user/debian/libvirt/libvirt-0.7.2/tools'                                                                                                
  CC     virsh-console.o                                                                                                                                                   
  CC     virsh-virsh.o                                                                                                                                                     
  CCLD   virsh                                                                                                                                                             
../src/.libs/libvirt.so: undefined reference to `security_getenforce'                                                                                                      
../src/.libs/libvirt.so: undefined reference to `freecon'                                                                                                                  
../src/.libs/libvirt.so: undefined reference to `setexeccon'                                                                                                               
../src/.libs/libvirt.so: undefined reference to 
`selinux_virtual_domain_context_path'                                                                                      
../src/.libs/libvirt.so: undefined reference to `context_str'
../src/.libs/libvirt.so: undefined reference to `context_range_set'
../src/.libs/libvirt.so: undefined reference to `is_selinux_enabled'
../src/.libs/libvirt.so: undefined reference to `setfilecon'
../src/.libs/libvirt.so: undefined reference to `context_new'
../src/.libs/libvirt.so: undefined reference to `getfilecon'
../src/.libs/libvirt.so: undefined reference to `getpidcon'
../src/.libs/libvirt.so: undefined reference to `context_free'
../src/.libs/libvirt.so: undefined reference to `context_range_get'
../src/.libs/libvirt.so: undefined reference to `matchpathcon'
../src/.libs/libvirt.so: undefined reference to 
`selinux_virtual_image_context_path'
../src/.libs/libvirt.so: undefined reference to `security_check_context'
collect2: ld returned 1 exit status
make[3]: *** [virsh] Error 1
make[3]: Leaving directory `/home/user/debian/libvirt/libvirt-0.7.2/tools'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/user/debian/libvirt/libvirt-0.7.2/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/user/debian/libvirt/libvirt-0.7.2'
make: *** [all] Error 2

Any idea what's wrong ?

Thank you,
-- 
Laurent Léonard




More information about the virt-tools-list mailing list