Building libreoffice dies with logl at GLIBCXX_3.4
Steve Kargl
sgk at troutmask.apl.washington.edu
Wed Feb 20 22:55:59 UTC 2013
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 at 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
More information about the freebsd-office
mailing list