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

Sandeep K Chaudhary babbusandy2006 at gmail.com
Tue Mar 4 13:11:18 PST 2014


On Tue, Mar 4, 2014 at 1:00 PM, Michael Stahl <mstahl at redhat.com> wrote:

> 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...)
>

Yes, I have custom built libxml2 installed. It's required for my work. What
should be the workaround?


>
> > 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"
>
> I will try that. I am not on my computer right now. Will try this, and
> report back.


Thanks,
Sandeep.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/libreoffice/attachments/20140304/93826d94/attachment.html>


More information about the LibreOffice mailing list