Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Nov 2016 04:20:47 +0100
From:      Rolf Nielsen <rnmtw70@yandex.com>
To:        FreeBSD Mailing List <freebsd-questions@freebsd.org>
Subject:   mkvtoolnix fails to link
Message-ID:  <2555ea22-61a1-169e-ef2d-cc37888393fa@yandex.com>

next in thread | raw e-mail | index | archive | help
I've been unable to update mkvtoolnix since 9.3.1. I had the exact same
problem updating from 9.2.? to 9.3, but that "magically" sorted itself
when I upgraded the system from 10 to 11 and in the process wiped all
ports and installed fresh. This leads me to believe it's something with
the options I've set in one of the dependencies, rather than with
mkvtoolnix itself. Now boost-libs got updated, and as a result my
installation of mkvtoolnix fails to run because of missing dependencies.
I resolved this by installing the precompiled package, and it seems to
be working just fine, but that one also pulls in a bunch of qt5 stuff,
which I do not want. I only ever use mkvtoolnix from a shell. However, I
did try to build it with default port options, i.e. with the gui
enabled, and that failed with the exact same message. I've also tried to
rebuild all the dependencies (as listed by pkg info -d mkvtoolnix) with
their default options, to no avail.

The last few lines of the make output are as follows

c++ -L/usr/local/lib -fstack-protector -L/usr/local/lib
-Llib/avilib-0.6.10 -Llib/librmff -Lsrc/common -o src/mkvmerge
src/merge/mkvmerge.o -Lsrc/merge -lmtxmerge -Lsrc/input -lmtxinput
-Lsrc/output -lmtxoutput -Lsrc/merge -lmtxmerge -lmtxcommon -lmagic -lz
-L/usr/local/lib -lmatroska -L/usr/local/lib -lebml -lz -lpugixml -lintl
-lboost_regex -lboost_filesystem -lboost_system -lavi -lrmff
-Lsrc/mpegparser -lmpegparser -lFLAC -logg -lm -lvorbis -logg
src/common/libmtxcommon.a(ebml_chapters_converter.o): In function
`mtx::xml::ebml_chapters_converter_c::fix_xml(std::__1::shared_ptr<pugi::xml_document>&)
const':
src/common/xml/ebml_chapters_converter.cpp:(.text+0xc15): undefined
reference to `_ZN4pugi14xpath_node_setaSEOS0_'
src/common/xml/ebml_chapters_converter.cpp:(.text+0xc98): undefined
reference to `_ZN4pugi14xpath_node_setaSEOS0_'
c++: error: linker command failed with exit code 1 (use -v to see
invocation)
*** Error code 1

Stop.
make[1]: stopped in /usr/ports/multimedia/mkvtoolnix
*** Error code 1

Stop.
make: stopped in /usr/ports/multimedia/mkvtoolnix
-- 
Vänligen / Sincerely,
Rolf Nielsen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?2555ea22-61a1-169e-ef2d-cc37888393fa>