[FFmpeg-user] Compile ffmpeg-4.2.2 on macOS with SRT 1.4.1 >>> ERROR: srt >= 1.3.0 not found using pkg-config
Al-Batin Saltanat
albatin.saltanat at gmail.com
Fri Jan 10 09:57:44 EET 2020
Hi Jonathan,
BEGIN /var/folders/4m/08_bx8zj1nl1qkkvbcf4vy8r0000gn/T//ffconf.vzCV75fZ/test.c
1 #include <lame/lame.h>
2 #include <stdint.h>
3 long check_lame_set_VBR_quality(void) { return (long) lame_set_VBR_quality; }
4 int main(void) { int ret = 0;
5 ret |= ((intptr_t)check_lame_set_VBR_quality) & 0xFFFF;
6 return ret; }
END /var/folders/4m/08_bx8zj1nl1qkkvbcf4vy8r0000gn/T//ffconf.vzCV75fZ/test.c
gcc -D_ISOC99_SOURCE -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE -I$(SRC_PATH)/compat/dispatch_semaphore -DPIC -std=c11 -Werror=partial-availability -fomit-frame-pointer -fPIC -pthread -c -o /var/folders/4m/08_bx8zj1nl1qkkvbcf4vy8r0000gn/T//ffconf.vzCV75fZ/test.o /var/folders/4m/08_bx8zj1nl1qkkvbcf4vy8r0000gn/T//ffconf.vzCV75fZ/test.c
gcc -Wl,-dynamic,-search_paths_first -o /var/folders/4m/08_bx8zj1nl1qkkvbcf4vy8r0000gn/T//ffconf.vzCV75fZ/test /var/folders/4m/08_bx8zj1nl1qkkvbcf4vy8r0000gn/T//ffconf.vzCV75fZ/test.o -lmp3lame -lm
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
Thank you.
Robert
> On 10 Jan 2020, at 4:46 AM, Jonathan Viney <jonathan.viney at gmail.com> wrote:
>
> On Fri, Jan 10, 2020 at 7:12 AM Al-Batin Saltanat <
> albatin.saltanat at gmail.com> 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.
> _______________________________________________
> ffmpeg-user mailing list
> ffmpeg-user at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-user
>
> To unsubscribe, visit link above, or email
> ffmpeg-user-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-user
mailing list