ffmpeg-on-apple-silicon
ffmpeg-on-apple-silicon copied to clipboard
ffmpeg dependency on workdir/sw/lib/libass.9.dylib
The resulting ffmpeg binary depends on workdir/sw/lib/libass.9.dylib
and thus can't be move around easily. This could be a consequence of this typo:
$ otool -L workdir/sw/bin/ffmpeg | grep tmp
/tmp/ffmpeg-on-apple-silicon/workdir/sw/lib/libass.9.dylib (compatibility version 11.0.0, current version 11.1.0)
diff --git a/build.bash b/build.bash
index 9ce8509..19cff03 100755
--- a/build.bash
+++ b/build.bash
@@ -353,7 +353,7 @@ function build_ass () {
cd ${CMPLD}
cd libass-0.15.0
autoreconf -i
- ./configure --prefix=${SRC} --disable-dependency-tracking --disable-shread --enable-static
+ ./configure --prefix=${SRC} --disable-dependency-tracking --disable-shared --enable-static
make -j ${NUM_PARALLEL_BUILDS}
make install
fi
I believe it is not enough to fix the typo above. The dynamic linking is introduced somewhere else. It also affects ffprobe
at least. My current workaround was to disable libass
in the ffmpeg confiuration.
rm -rf ${SRC}/lib/*.dylib