pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

libreoffice linking error



This is on pkgsrc-current with:

# uname -a
NetBSD localhost 8.0 NetBSD 8.0 (GENERIC) #0: Tue Jul 17 14:59:51 UTC 2018
mkrepro%mkrepro.NetBSD.org@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64

I have set the following to avoid an error related to libfreetype
USE_BUILTIN.freetype2= no

None of the options is enabled.
PKG_OPTIONS.libreoffice += -java


The error is:

[DEP] LNK:Executable/gengal.bin
[LNK] Executable/gengal.bin
/usr/bin/ld: warning: libstdc++.so.8, needed by
/usr/pkgsrc/misc/libreoffice/work/.buildlink/lib/libboost_system.so, may
conflict with libstdc++.so.7
/usr/pkgsrc/misc/libreoffice/work/libreoffice-6.3.4.2/instdir/program/libutllo.so:
undefined reference to
`boost::locale::generator::add_messages_domain(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
/usr/pkgsrc/misc/libreoffice/work/libreoffice-6.3.4.2/instdir/program/libutllo.so:
undefined reference to
`boost::locale::generator::generate(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<
char> > const&) const'
/usr/pkgsrc/misc/libreoffice/work/libreoffice-6.3.4.2/instdir/program/libutllo.so:
undefined reference to
`boost::locale::generator::add_messages_path(std::__cxx11::basic_string<char,
std::char_traits<char>, std::a
llocator<char> > const&)'
/usr/pkgsrc/misc/libreoffice/work/libreoffice-6.3.4.2/instdir/program/libsfxlo.so:
undefined reference to
`orcus::json::document_tree::load(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<ch
ar> > const&, orcus::json_config const&)'
collect2: error: ld returned 1 exit status
gmake[1]: ***
[/usr/pkgsrc/misc/libreoffice/work/libreoffice-6.3.4.2/svx/Executable_gengal.mk:20:
/usr/pkgsrc/misc/libreoffice/work/libreoffice-6.3.4.2/instdir/program/gengal.bin]
Error 1
gmake: *** [Makefile:167: Executable_gengal] Error 2
*** Error code 2


Request help and suggestions.

Probably boost dependency needs to be updated?

Mayuresh


Home | Main Index | Thread Index | Old Index