pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
libstdc++ conflict when building libreoffice
libstdc++ 9.0 is probably lurking from previous OS version. But why would
libreoffice try to build against 8.0, as the error suggests?
# ls -l /usr/lib/libstdc++.so*
lrwxr-xr-x 1 root wheel 16 Oct 19 2020 /usr/lib/libstdc++.so -> libstdc++.so.9.0
lrwxr-xr-x 1 root wheel 16 Jul 17 2018 /usr/lib/libstdc++.so.8 -> libstdc++.so.8.0
-r--r--r-- 1 root wheel 1459080 Jul 17 2018 /usr/lib/libstdc++.so.8.0
lrwxr-xr-x 1 root wheel 16 Oct 19 2020 /usr/lib/libstdc++.so.9 -> libstdc++.so.9.0
-r--r--r-- 1 root wheel 2030264 Oct 19 2020 /usr/lib/libstdc++.so.9.0
Build error:
ld: warning: libstdc++.so.8, needed by
/usr/local/netbsd/work/misc/libreoffice/work/.buildlink/lib/libcppunit.so,
may conflict with libstdc++.so.9
ld:
/usr/local/netbsd/work/misc/libreoffice/work/libreoffice-7.1.2.2/workdir/CxxObject/sal/cppunittester/cppunittester.o:
in function `(anonymous namespace)::ProtectedFixtureFunctor::run() const':
cppunittester.cxx:(.text+0xda7): undefined reference to
`CppUnit::PlugInParameters::PlugInParameters(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
ld: cppunittester.cxx:(.text+0xdb6): undefined reference to
`CppUnit::PlugInManager::load(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
CppUnit::PlugInParameters const&)'
ld: cppunittester.cxx:(.text+0x10c2): undefined reference to
`CppUnit::TestFactoryRegistry::getRegistry(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
ld: cppunittester.cxx:(.text+0x1234): undefined reference to
`CppUnit::TestRunner::run(CppUnit::TestResult&,
std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&)'
ld: cppunittester.cxx:(.text+0x1286): undefined reference to
`CppUnit::CompilerOutputter::CompilerOutputter(CppUnit::TestResultCollector*,
std::ostream&, std::__cxx11::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&)'
ld: cppunittester.cxx:(.text+0x1349): undefined reference to
`CppUnit::TestFactoryRegistry::getRegistry(std::__cxx11::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)'
ld:
/usr/local/netbsd/work/misc/libreoffice/work/libreoffice-7.1.2.2/workdir/CxxObject/sal/cppunittester/cppunittester.o:
in function `(anonymous
namespace)::LogFailuresAsTheyHappen::addFailure(CppUnit::TestFailure
const&)':
cppunittester.cxx:(.text+0x2120): undefined reference to
`CppUnit::SourceLine::fileName[abi:cxx11]() const'
ld: cppunittester.cxx:(.text+0x221b): undefined reference to
`CppUnit::Message::shortDescription[abi:cxx11]() const'
ld: cppunittester.cxx:(.text+0x2292): undefined reference to
`CppUnit::Message::details[abi:cxx11]() const'
gmake[1]: ***
[/usr/local/netbsd/work/misc/libreoffice/work/libreoffice-7.1.2.2/solenv/gbuild/LinkTarget.mk:667:
/usr/local/netbsd/work/misc/libreoffice/work/libreoffice-7.1.2.2/workdir/LinkTarget/Executable/cppunittester]
Error 1
gmake: *** [Makefile:282: build] Error 2
*** Error code 2
--
Mayuresh
Home |
Main Index |
Thread Index |
Old Index