Re: [xslt] undefined reference to `xmlXPathContextSetCache'

-On [20070105 09:38], Nicolas Ecarnot (nicolas ecarnot net) wrote:
>/bin/sh ../libtool --tag=CC --mode=link gcc  -g -O2 -Wall    -o xsltproc
>xsltproc.o  ../libxslt/  ../libexslt/  -L/usr/local/lib
>-lxml2 -lz -lpthread -lm -L/usr/local/lib -lxml2 -lz -lpthread -lm -lm
>gcc -g -O2 -Wall -o .libs/xsltproc xsltproc.o  -L/somefolder/tmp/libxslt-
>1.1.17/libxslt/.libs -L../libxslt/.libs -L/usr/local/lib -L../libexslt/.libs
>-lexslt -lxslt -lxml2 -lz -lpthread -lm -Wl,-rpath,/usr/local/lib
>/somefolder/tmp/libxslt-1.1.17/libxslt/.libs/ undefined
>reference to `xmlXPathContextSetCache'

Obviously it cannot find xmlXPathContextSetCache(). This probably means that
the -lxml2 line is not working, i.e. it cannot find the libxml2 library. Do
you have this installed? Is it installed in /usr/local/lib? Is the name, where N is a number or something else?

Jeroen Ruigrok van der Werven <asmodai(-at-)> / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
Seize from every moment its unique novelty and do not prepare your joys...

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