incubator-ooo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Stahl <>
Subject Re: FreeBSD build failute in libxslt
Date Sat, 15 Oct 2011 21:53:06 GMT
On 14.10.2011 00:44, Pedro Giffuni wrote:
> Hi;
> FreeBSD has a tinderbox that checks all the ports and
> OpenOffice 3.4-RC appears broken in configure:
> building manually I get this:
> ____
> ....
> /bin/sh ../libtool --tag=CC   --mode=link gcc  -g -O2 -Wall  -Wl,--version-script=./libxslt.syms
-version-info 2:26:1 -Wl,-rpath,'$ORIGIN:$ORIGIN/../ure-link/lib' -Wl,-noinhibit-exec -o
-rpath /usr/local/lib attrvt.lo xslt.lo xsltlocale.lo xsltutils.lo pattern.lo templates.lo
variables.lo keys.lo numbers.lo extensions.lo extra.lo functions.lo namespaces.lo imports.lo
attributes.lo documents.lo preproc.lo transform.lo security.lo -L/usr/ports/editors/
-lxml2 -lm  
> libtool: link: gcc -shared  .libs/attrvt.o .libs/xslt.o .libs/xsltlocale.o .libs/xsltutils.o
.libs/pattern.o .libs/templates.o .libs/variables.o .libs/keys.o .libs/numbers.o .libs/extensions.o
.libs/extra.o .libs/functions.o .libs/namespaces.o .libs/imports.o .libs/attributes.o .libs/documents.o
.libs/preproc.o .libs/transform.o .libs/security.o   -L/usr/ports/editors/
-lxml2 -lm  -Wl,--version-script=./libxslt.syms -Wl,-rpath -Wl,\$ORIGIN:\$ORIGIN/../ure-link/lib
-Wl,-noinhibit-exec   -Wl,-soname -Wl, -o .libs/
> /usr/bin/ld: cannot find -lxml2

if your build is configured to use the internal libxml2, then the libxml2
module should deliver a patched xml2-config script into the solver bin
directory, which should (when called by the internal libxslt configure
script) put the solver lib directory onto the linker search path (looks
like that is the case here with

if you build --with-system-libxml, then the xml2-config from your system
should be found instead.

on MacOSX OOo does not build the internal libxml2/libxslt but instead uses
the system libraries; perhaps it could make sense to do the same on FreeBSD?


View raw message