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

Michael Stahl mstahl at redhat.com
Tue Mar 4 13:00:17 PST 2014


On 04/03/14 06:59, Sandeep K Chaudhary wrote:
> Hi Michael,
> 
> thanks for the reply ! 
> 
> Here is the o/p for the three grep commands, and 'make l10ntools
> PARALLELISM=1 VERBOSE=t'
> 
> sandeep at ubuntu:~/libreoffice$ grep LIBXML config_host.mk
> <http://config_host.mk>
> export LIBXML_CFLAGS=$(gb_SPACE)-isystem/usr/local/include/libxml2  
> export LIBXML_JAR=
> export LIBXML_LIBS=$(gb_SPACE)-L/usr/local/lib -lxml2  
> export SYSTEM_LIBXML=TRUE
> sandeep at ubuntu:~/libreoffice$ grep LIBXSLT config_host.mk
> <http://config_host.mk>
> export LIBXSLT_CFLAGS=$(gb_SPACE)-isystem/usr/local/include/libxml2  
> export LIBXSLT_LIBS=$(gb_SPACE)-L/usr/local/lib -lxslt -lxml2  
> export LIBXSLT_MAJOR=
> export SYSTEM_LIBXSLT=TRUE
> export SYSTEM_LIBXSLT_FOR_BUILD=TRUE
> sandeep at ubuntu:~/libreoffice$ grep LIBEXSLT config_host.mk
> <http://config_host.mk>
> export LIBEXSLT_CFLAGS=$(gb_SPACE)-isystem/usr/local/include/libxml2  
> export LIBEXSLT_LIBS=$(gb_SPACE)-L/usr/local/lib -lexslt -lxslt -lxml2 

i wonder why you've got these /usr/local paths in there - do you have
some custom built libxml2/libxslt installed in /usr/local, or does
"xml2-config --libs" really output that on Ubuntu?  (which would be
surprising, but then again, it's Ubuntu...)

> sandeep at ubuntu:~/libreoffice$ make l10ntools PARALLELISM=1 VERBOSE=t
> cd /home/sandeep/libreoffice/l10ntools && /usr/bin/make -j 1 -r
> [build PKG] icu
> make[1]: Entering directory `/home/sandeep/libreoffice/l10ntools'
> /home/sandeep/libreoffice/solenv/gbuild/Package.mk:81: *** Something
> depends on package icu which does not exist..  Stop.
> make[1]: Leaving directory `/home/sandeep/libreoffice/l10ntools'
> make: *** [l10ntools] Error 2

hmmm that was not enlightening, try:
 make l10ntools.all PARALLELISM=1 VERBOSE=t LDFLAGS="-Wl,--trace"




More information about the LibreOffice mailing list