[mythtv] macOS: linker error (at least in ffmpeg) with Xcode 15

John Hoyt john.hoyt at gmail.com
Thu Oct 26 20:50:33 UTC 2023


With the release of the latest macOS 14 (Sonoma) and Xcode 15, I've just
gotten around to test compiling fixes/33 and master.  Unfortunately, Xcode
15 introduces a new linker which breaks (at least) FFMPEG in fixes/33 and
master.  I've started a github issues here:
https://github.com/MythTV/mythtv/issues/808

There is a work around suggested by other sites affected by the same FFMPEG
error to add '-Wl,-ld_classic" to the linker flags. I have confirmed that
this does work by adding "export LDFLAGS="$LDFLAGS -Wl,-ld_classic" to my
build environment.

Is there a better place (perhaps one that only pushes the flags to FFMPEG)
to better test that this issue is solely limited to FFMPEG?

Thanks for the pointers!
John
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-dev/attachments/20231026/58e8a7fa/attachment.htm>


More information about the mythtv-dev mailing list