undefined reference to `xmlXPathNodeSetSort at LIBXML2_2.4.30 error while running 'make'

Michael Stahl mstahl at redhat.com
Mon Mar 3 12:49:58 PST 2014

On 03/03/14 21:13, Sandeep K Chaudhary wrote:
> Hi guys,
> I started with building libreoffice on Ubuntu 12.10 but I am getting
> below error while running 'make'. Steps before this went fine as
> suggested in the wiki. Please tell me what should I do.

> /usr/lib/gcc/x86_64-linux-gnu/4.7/../../../x86_64-linux-gnu/libexslt.so:
> undefined reference to `xmlUTF8Size at LIBXML2_2.5.9'

> collect2: error: ld returned 1 exit status
> make[1]: *** [/home/sandeep/libreoffice/workdir/LinkTarget/Executable/uiex]

not sure what could cause this... what do the following print:

 grep LIBXML config_host.mk

 grep LIBXSLT config_host.mk

 grep LIBEXSLT config_host.mk

also can you paste the failing command when running:

 make l10ntools PARALLELISM=1 VERBOSE=t

More information about the LibreOffice mailing list