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