Re: [PATCH 3/3] tests: link agains libxml2

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

 



On 04/07/2014 02:02 AM, Guido Günther wrote:
> to avoid
> 
> CCLD     storagevolxml2argvtest
> /usr/bin/ld: ../src/.libs/libvirt_driver_storage_impl.a(libvirt_driver_storage_impl_la-storage_backend.o): undefined reference to symbol 'xmlFreeDoc@@LIBXML2_2.4.30'
> //usr/lib/x86_64-linux-gnu/libxml2.so.2: error adding symbols: DSO missing from command line
> ---
>  tests/Makefile.am | 1 +
>  1 file changed, 1 insertion(+)

ACK.

> 
> diff --git a/tests/Makefile.am b/tests/Makefile.am
> index 6e15af8..8e011a8 100644
> --- a/tests/Makefile.am
> +++ b/tests/Makefile.am
> @@ -681,6 +681,7 @@ storagevolxml2argvtest_SOURCES = \
>      storagevolxml2argvtest.c \
>      testutils.c testutils.h
>  storagevolxml2argvtest_LDADD = \
> +	$(LIBXML_LIBS) \
>  	../src/libvirt_driver_storage_impl.la $(LDADDS)
>  
>  else ! WITH_STORAGE
> 

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

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