Re: libvirt compilation error, libvirt.so: undefined reference to `xmlParseFile'

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

 



Hi (again),
I finally found what was wrong with my setup... libxml2 was build without SAX1 support.
Once libxml2 rebuild with --with-sax1, libvirt compiles fine.
Thx,
--
Eric LECAT


Le 18.02.2013 10:50, nasb@xxxxxxxxxxxxxxx a écrit :
Hi,

I'm currently trying to compile libvirt 1.0.2 on my custom
x86_64/uClibc environnement. Configuration goes well (./configure
--prefix=/usr --without-pyton), but during make I get the following
error message :

  CCLD   libvirtd

/lslbuild/svn/trunk/packages/virtualization/libvirt/libvirt-1.0.2/src/.libs/libvirt.so:
undefined reference to `xmlParseFile'
collect2: error: ld returned 1 exit status


Looks like a -lxml2 flag missing, but configure found the correct
flags according to the Makefile which contains :
LIBXML_CFLAGS = -I/usr/include/libxml2
LIBXML_LIBS = -lxml2

Does anyone have an idea on what's going wrong? What other
informations should I provide?
Thanks,
--
Eric LECAT

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

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