[XSL-LIST Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message]

undefined reference to `xmlXPathContextSetCache'

Subject: undefined reference to `xmlXPathContextSetCache'
From: Nicolas Ecarnot <nicolas@xxxxxxxxxxx>
Date: Thu, 04 Jan 2007 18:53:45 +0100
undefined reference to makefile static
Hello,

Under OpenBSD 3.9, I'm trying to compile libxslt-1.1.17.
I just downloaded the tar.gz file, untared it, and tried the default
configure/make usual way.
I also tried with many sets of options, the maximum longest command line being :
./configure --prefix=/usr/local --without-plugins --without-crypto
--without-python --disable-static --enable-shared

I tried it with so many combinations I can't remember all.

In every cases, here is what I get :

[...]
[...many subdirectories compiling very well...]
[...]
Making all in xsltproc
/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
/usr/local/lib/libxml2.so.9.0: warning: strcpy() is almost always misused,
please use strlcpy()
/somefolder/tmp/libxslt-1.1.17/libxslt/.libs/libxslt.so.2.17: warning: sprintf()
is often misused, please use snprintf()
/usr/local/lib/libxml2.so.9.0: warning: strcat() is almost always misused,
please use strlcat()
/somefolder/tmp/libxslt-1.1.17/libxslt/.libs/libxslt.so.2.17: undefined
reference to `xmlXPathContextSetCache'
collect2: ld returned 1 exit status
*** Error code 1

Stop in /somefolder/tmp/libxslt-1.1.17/xsltproc (line 311 of Makefile).
*** Error code 1

Stop in /somefolder/tmp/libxslt-1.1.17 (line 445 of Makefile).
*** Error code 1

Stop in /somefolder/tmp/libxslt- 1.1.17 (line 274 of Makefile).



May you explain me if there's a way to correct that ?

--
Nicolas Ecarnot

Current Thread

PURCHASE STYLUS STUDIO ONLINE TODAY!

Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced!

Buy Stylus Studio Now

Cast Your Vote

We need your help – Vote for DataDirect XML Products!

  • Best SOA or XML site

Winners and finalists announced at SOA World Conference in November.

Download The World's Best XML IDE!

Accelerate XML development with our award-winning XML IDE - Download a free trial today!

Don't miss another message! Subscribe to this list today.
Email
First Name
Last Name
Company
Subscribe in XML format
RSS 2.0
Atom 0.3
Site Map | Privacy Policy | Terms of Use | Trademarks
Free Stylus Studio XML Training:
W3C Member
Stylus Studio® and DataDirect XQuery™are products from DataDirect Technologies, is a registered trademark of Progress Software Corporation, in the U.S. and other countries. © 2004-2007 All Rights Reserved.