pkgsrc-Users archive

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

Re: libreoffice linking error



Hi,


On Sat, 8 Feb 2020 at 09:14, Mayuresh <mayuresh%acm.org@localhost> wrote:
>
> 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

FYI I just finished a build of libreoffice-6.4.0.3.tgz under -current
amd64. I don't turn java off.

>
>
> 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