0
I got following error while compiling ffmpeg-4.2.2 on MacOS 10.14.6 with the Haivision-SRT 1.4.1 package:
ERROR: srt >= 1.3.0 not found using pkg-config
First, I tried it with the srt package from Homebrew and then I compiled it from source. But both times I got the same error. I compiled the same ffmpeg 4.2.2 package on Ubuntu with SRT 1.4.1 without problems.
From the ffbuild/config.log
:
require_pkg_config libsrt srt >= 1.3.0 srt/srt.h srt_socket
check_pkg_config libsrt srt >= 1.3.0 srt/srt.h srt_socket
test_pkg_config libsrt srt >= 1.3.0 srt/srt.h srt_socket
false --exists --print-errors srt >= 1.3.0
ERROR: srt >= 1.3.0 not found using pkg-config
Why is it asking for such an old libsrt version?
From where does it get this requirement?
"From where does it get this requirement?" The
configure
file has a requirement for libsrt 1.3.0 or greater. Are you compiling ffmpeg via a homebrew formula? – llogan – 2020-01-10T21:14:12.860I followed these instructions https://trac.ffmpeg.org/wiki/CompilationGuide/macOS >> Compiling FFmpeg yourself and only installed some dependencies with Homebrew.
– saltarob – 2020-01-10T23:32:20.843enabled libsrt && require_pkg_config libsrt "srt >= 1.3.0" srt/srt.h srt_socket
>> the configure file on Ubuntu has the same line but compiled without errors the 1.4.1 srt package. Does ffmpeg really require this old package or is it a bug? – saltarob – 2020-01-10T23:44:20.797ffmpeg requires that it not be old. – llogan – 2020-01-11T00:13:59.763