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/libxslt.la  ../libexslt/libexslt.la  -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
[snip]
>/somefolder/tmp/libxslt-1.1.17/libxslt/.libs/libxslt.so.2.17: 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
libxml2.so.N, where N is a number or something else?

-- 
Jeroen Ruigrok van der Werven <asmodai(-at-)in-nomine.org> / asmodai
イェルーン ラウフロック ヴァン デル ウェルヴェン
http://www.in-nomine.org/
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]