media-video/mkvtoolnix

This wiki page is about a gentoo ebuild. Include any information about how to install it (emerge it), potential problems and how to resolve them. Be bold and improve it!

If you have any questions or experience any problem related to this ebuild, don't hesitate to open a new ticket and we'll do our best to assist you.

Troubleshooting

undefined reference to `libebml::EbmlString::operator ...

/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/mkvtoolnix-gui/chapter_editor/tab.o: in function `std::_Function_handler<void (QStandardItem*), mtx::gui::ChapterEditor::Tab::usedNameCountryCodes(QStandardItem*)::{lambda(auto:1*)#1}>::_M_invoke(std::_Any_data const&, QStandardItem*&&)':
tab.cpp:(.text+0xb814): undefined reference to `libebml::EbmlString::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&() const'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/mkvtoolnix-gui/chapter_editor/tab.o: in function `std::_Function_handler<void (QStandardItem*), mtx::gui::ChapterEditor::Tab::usedNameLanguages(QStandardItem*)::{lambda(auto:1*)#1}>::_M_invoke(std::_Any_data const&, QStandardItem*&&)':
tab.cpp:(.text+0xbbeb): undefined reference to `libebml::EbmlString::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&() const'
/usr/lib/gcc/x86_64-pc-linux-gnu/9.2.0/../../../../x86_64-pc-linux-gnu/bin/ld: src/common/libmtxcommon.a(ebml_chapters_converter.o): in function `mtx::xml::ebml_chapters_converter_c::fix_display(libmatroska::KaxChapterDisplay&) const':
ebml_chapters_converter.cpp:(.text+0x1de4): undefined reference to `libebml::EbmlString::operator std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&() const'
collect2: error: ld returned 1 exit status
* ERROR: media-video/mkvtoolnix-37.0.0::gentoo failed (compile phase):
*   (no error message)
*
* Call stack:
*     ebuild.sh, line 125:  Called src_compile
*   environment, line 1849:  Called die
* The specific snippet of code:
*       rake V=1 -j$(makeopts_jobs) || die

The key is the reference to libebml::EbmlString, thus the fix was simply to re-compile (emerge again) dev-libs/libebml and then re-emerge media-video/mkvtoolnix.

External resources