On Fri, Jan 10, 2020 at 10:27 PM Al-Batin Saltanat < [email protected]> wrote:
> SRT first with brew then compiled myself. Both with same result. > pkg-config compiled myself following the instructions of: > > https://trac.ffmpeg.org/wiki/CompilationGuide/macOS > > > On 10 Jan 2020, at 10:11 AM, K E N O <[email protected]> wrote: > > > > Did you install srt and pkg-config with brew? > > > >> Am 10.01.2020 um 03:46 schrieb Jonathan Viney <[email protected] > <mailto:[email protected]>>: > >> > >> On Fri, Jan 10, 2020 at 7:12 AM Al-Batin Saltanat < > >> [email protected] <mailto:[email protected]> <mailto: > [email protected] <mailto:[email protected]>>> wrote: > >> > >>> > >>> Hi, > >>> > >>> I got following error while compiling ffmpeg-4.2.2 on macOS 10.14.6 > with > >>> 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. > >>> > >>> Thank you. > >> > >> > >> What does the bottom of ffbuild/config.log show? > >> > >> -Jonathan. > >> _______________________________________________ > I think this is because SRT needs to be able to access openssl from homebrew. OpenSSL from homebrew is a keg-only. Try running pkg-config to see more detail, you'll probably get somethings like this: # pkg-config --exists --print-errors srt Package openssl was not found in the pkg-config search path. Perhaps you should add the directory containing `openssl.pc' to the PKG_CONFIG_PATH environment variable Package 'openssl', required by 'srt', not found Look at the output of "brew info openssl", you will probably need to export some environment variables so SRT can find the right openssl version. Eg, mine is: export PKG_CONFIG_PATH="/usr/local/opt/[email protected]/lib/pkgconfig" Cheers, -Jonathan. _______________________________________________ ffmpeg-user mailing list [email protected] https://ffmpeg.org/mailman/listinfo/ffmpeg-user To unsubscribe, visit link above, or email [email protected] with subject "unsubscribe".
