Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ffmpeg dependency on workdir/sw/lib/libass.9.dylib #7

Open
lindig opened this issue Mar 27, 2021 · 2 comments
Open

ffmpeg dependency on workdir/sw/lib/libass.9.dylib #7

lindig opened this issue Mar 27, 2021 · 2 comments

Comments

@lindig
Copy link

lindig commented Mar 27, 2021

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
@lindig
Copy link
Author

lindig commented Mar 27, 2021

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.

@amnonbb
Copy link

amnonbb commented May 3, 2021

rm -rf ${SRC}/lib/*.dylib

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants