You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Description
When apple platform (ios, macos, tvos) build scripts enable an external library that requires expat, build scripts are linked against the libexpat system library that comes with the newer SDK versions.
Other
This happens because Apple platforms try to load dynamic libraries first. Since there is a dynamic libexpat.1.dylib library found in search paths, they ignore the static binary built by ios.sh, macos.sh and tvos.sh.
Description
When apple platform (
ios
,macos
,tvos
) build scripts enable an external library that requiresexpat
, build scripts are linked against thelibexpat
system library that comes with the newer SDK versions.First reported in https://github.com/tanersener/ffmpeg-kit-test/issues/18
Expected behavior
Linked libraries should work on all platforms.
Current behavior
Unfortunately, older system runtimes e.g. iOS 13.5 don't have
libexpat
. So, they fail to loadffmpeg
libraries.To Reproduce
ios.sh
by enabling eitherfontconfig
orlibass
Logs
Environment
iOS
/macOS
/tvOS
armv7
,armv7s
,arm64
,arm64-mac-catalyst
,arm64-simulator
,arm64e
,i386
,x86-64
,x86-64-mac-catalyst
v4.5.1
andv4.5.1.LTS
main
13.2.1
1.11.2
Other
This happens because Apple platforms try to load dynamic libraries first. Since there is a dynamic
libexpat.1.dylib
library found in search paths, they ignore the static binary built byios.sh
,macos.sh
andtvos.sh
.This behaviour is explained in QA1393.
The text was updated successfully, but these errors were encountered: