Bug #5237
Cont from #5235: 'libavresample' required by 'virtual:world'
0%
Description
After #5235 was fixed, a non-breaking build issue came up:
***
Package libavresample was not found in the pkg-config search path.
Perhaps you should add the directory containing `libavresample.pc'
to the PKG_CONFIG_PATH environment variable
Package 'libavresample', required by 'virtual:world', not found
***
It comes up for so many files during the build that it fills the terminal's buffer.
History
Updated by N A about 6 years ago
Ah, I see that "virtual:world" has nothing to do with tvheadend. I don't know what that is all about.
But something I just tried was removing " libavresample \" from Makefile line 95 under "FFMPEG_LIBS := \", and it still built and ran with no problems.
I don't know if you're keeping libavresample for legacy reasons (eg, libswresample doesn't exist in older ffmpeg versions), but it sounds like you can be done with libavresample and just stick with libswresample.
Updated by Martin Walter almost 6 years ago
Ran into the same problem with --enable-libav when linking to an external ffmpeg that does not build libavresample. Unfortunately, just removing Makefile line 95 did not work for me as there apparently is an explicit dependency to libavresample within plumbing/transcoding.c. Not able to propose a proper fix for this either though. Sorry, Jaroslav...
Updated by N A over 5 years ago
Martin, here is the some of the config params that I used (it worked for me back then and still now):
--disable-libmfx_static --disable-qsv --disable-nvenc --disable-libx264_static --disable-libx265_static --disable-ffmpeg_static --disable-libvpx_static --disable-libtheora_static --disable-libvorbis_static --disable-libfdkaac_static
I never set the "libav" param.