[FFmpeg-user] Failed / strange build script

Bouke bouke at editb.nl
Mon May 10 11:47:24 EEST 2021

Hi all,
I’ve downloaded a FFMpeg build script and altered it to my liking
(Added Decklink support / drawtext)

running the script as ./build-ffmpeg -b --enable-gpl-and-non-free

Now it does build on a Catalina system, but fails on a Big Sur.
The succesfull build however has dependencies  where everything should be static.

MacBook-Pro:~ bouke$ /Users/bouke/Desktop/ffplay ; exit;
dyld: Library not loaded: /usr/local/opt/fontconfig/lib/libfontconfig.1.dylib
  Referenced from: /Users/bouke/Desktop/ffplay
  Reason: image not found

The failed builds seems to fail on 
Library not loaded: /usr/local/opt/fontconfig/lib/libfontconfig.1.dylib

from the Compilation guide it is suggestred that macOS comes with freetype installed.
freetype-config on the ‘good’ machine works, 
but on the non-working machine:
-bash: freetype-config: command not found

So, two problems:
1) not fully static
2) not able to build on ’some’ machines

What am I missing?
Logfiles and script are attached


van Oldenbarneveltstraat 33
6512 AS  Nijmegen
+31 6 21817248
To send files, go here:

More information about the ffmpeg-user mailing list