Re: Make check on current git fails when building --with-vbox

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

 



2011/6/7 Ruben Kerkhof <ruben@xxxxxxxxxxxxxxxx>:
> Hi all,
>
> ./configure --without-vbox
> make
> make check
>
> produces on my F-13 and F-15 machines.
>
> make[1]: Entering directory `/home/ruben/src/libvirt/tests'
> make Âvirshtest conftest sockettest nodeinfotest qparamtest virbuftest
> commandtest commandhelper seclabeltest hashtest  qemuxml2argvtest
> qemuxml2xmltest qemuargv2xmltest qemuhelptest openvzutilstest
> vmx2xmltest xml2vmxtest Ânetworkxml2xmltest nwfilterxml2xmltest
> storagevolxml2xmltest storagepoolxml2xmltest nodedevxml2xmltest
> interfacexml2xmltest cputest eventtest
> make[2]: Entering directory `/home/ruben/src/libvirt/tests'
> ÂCC Â Â virshtest.o
> ÂCC Â Â testutils.o
> ÂCCLD Â virshtest
> ÂCC Â Â conftest.o
> ÂCCLD Â conftest
> ÂCC Â Â sockettest.o
> ÂCCLD Â sockettest
> ÂCC Â Â nodeinfotest.o
> ÂCCLD Â nodeinfotest
> ÂCC Â Â qparamtest.o
> ÂCCLD Â qparamtest
> ÂCC Â Â virbuftest.o
> ÂCCLD Â virbuftest
> ÂCC Â Â commandtest-commandtest.o
> ÂCC Â Â commandtest-testutils.o
> ÂCCLD Â commandtest
> ÂCC Â Â commandhelper-commandhelper.o
> ÂCCLD Â commandhelper
> ÂCC Â Â seclabeltest.o
> ÂCCLD Â seclabeltest
> ÂCC Â Â hashtest.o
> ÂCCLD Â hashtest
> ÂCC Â Â qemuxml2argvtest.o
> ÂCC Â Â testutilsqemu.o
> ÂCCLD Â qemuxml2argvtest
> /usr/bin/ld: ../src/.libs/libvirt_test.a(libvirt_driver_la-lock_manager.o):
> undefined reference to symbol 'dlclose@@GLIBC_2.2.5'
> /usr/bin/ld: note: 'dlclose@@GLIBC_2.2.5' is defined in DSO
> /lib64/libdl.so.2 so try adding it to the linker command line
> /lib64/libdl.so.2: could not read symbols: Invalid operation
> collect2: ld returned 1 exit status
> make[2]: *** [qemuxml2argvtest] Error 1
> make[2]: Leaving directory `/home/ruben/src/libvirt/tests'
> make[1]: *** [check-am] Error 2
> make[1]: Leaving directory `/home/ruben/src/libvirt/tests'
> make: *** [check-recursive] Error 1
>
> Kind regards,
>
> Ruben

This is because of the locking manager using dlopen but not linking
against libdl explicitly. The VirtualBox driver happens to link libdl
in, but without it libdl is missing, We currently link libvirt with
libdl when the VirtualBox driver is enabled or when driver modules are
enabled. We need to link with libdl unconditional now. I'll post a
patch for this.

Matthias

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