Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Feb 2013 14:55:55 -0800
From:      Steve Kargl <sgk@troutmask.apl.washington.edu>
To:        freebsd-ports@freebsd.org, freebsd-office@freebsd.org
Cc:        sgk@troutmask.apl.washington.edu
Subject:   Building libreoffice dies with logl@GLIBCXX_3.4
Message-ID:  <20130220225555.GB44319@troutmask.apl.washington.edu>

next in thread | raw e-mail | index | archive | help
Why is libreoffice looking for glibc?

Stop in /usr/ports/editors/libreoffice.
laptop:root[246] cd work/libreoffice-core-3.6.5.2/l10ntools/
laptop:root[247] gmake
[ build LNK ] Executable/HelpIndexer
S=/usr/ports/editors/libreoffice/work/libreoffice-core-3.6.5.2 && O=/tmp/lobuild/solver/unxfbsdi.pro && W=/tmp/lobuild/workdir/unxfbsdi.pro &&  mkdir -p $W/LinkTarget/Executable/ && g++46     '-Wl,-z,origin,-rpath,$ORIGIN/../lib:$ORIGIN' -Wl,-rpath-link,$O/lib -Wl,-rpath-link,/lib:/usr/lib -Wl,-z,combreloc  -L$S/solenv/unxfbsdi/lib -L$O/lib -L$S/solenv/unxfbsdi/lib -L/usr/local/lib  -Wl,--hash-style=gnu  -Wl,--dynamic-list-cpp-new -Wl,--dynamic-list-cpp-typeinfo -Wl,-Bsymbolic-functions    $W/CxxObject/l10ntools/source/help/HelpIndexer_main.o     -Wl,--start-group  -Wl,--end-group -Wl,--no-as-needed  -lexpat -lxslt  -lz -liconv -lm -L/usr/local/lib -lxml2   -L/usr/local/lib -lxml2   -L/usr/local/lib/db42 -ldb-4.2  -L/usr/local/lib/ -lclucene-core   -lclucene-contribs-lib  -luno_sal -lhelplinkerlo -o $W/LinkTarget/Executable/HelpIndexer
/usr/local/lib/libclucene-core.so: undefined reference to `logl@GLIBCXX_3.4'
collect2: ld returned 1 exit status
gmake: *** [/tmp/lobuild/workdir/unxfbsdi.pro/LinkTarget/Executable/HelpIndexer] Error 1

Is this a link order issue?  -lm comes before -lclucene-core
-lclucene-contribs-lib in the above command line.

Note. my libm has a logl and it is properly symbol versioned.

-- 
Steve



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130220225555.GB44319>