I'm trying to build TVHeadend to work with my Kodi-17.3 installation, but the compilation keep failing. My system is Slackware64-current (pure 64 bit) and uses Gcc-7.1.0. It looks like ffmpeg is the problem, though why this should be is a mystery as I already have ffmpeg installed, with all the relevant libraries, for kdenlive, amongst other things.
The error is:
CC src/docs.o
CC tvheadend
/usr/lib64/gcc/x86_64-slackware-linux/7.1.0/../../../../x86_64-slackware-linux/bin/ld: /tmp/SBo/tvheadend-git20170805/build.linux/ffmpeg/build/ffmpeg/lib/libx265.a(encoder.cpp.o): undefined reference to symbol '_ZdaPv@@GLIBCXX_3.4'
/usr/lib64/libstdc++.so.6: error adding symbols: DSO missing from command line
collect2: error: ld returned 1 exit status
make[1]:
* [Makefile:636: /tmp/SBo/tvheadend-git20170805/build.linux/tvheadend] Error 1
make[1]: Leaving directory '/tmp/SBo/tvheadend-git20170805'
make:* [Makefile:99: ffmpeg_all] Error 2
I've tried tvheadend-4.2.1, 4.3 and a git pull from the 5th of August. All display similar problems.
I note that the makefile pulls in its own ffmpeg. Since I already have a working ffmpeg and relevant libraries installed, is there anyway to persuade it build to use the existing ffmpeg? Or to otherwise fix the problem?
Cheers,
--
Pete