[mythtv] macOS: linker error (at least in ffmpeg) with Xcode 15
John Hoyt
john.hoyt at gmail.com
Thu Oct 26 23:27:57 UTC 2023
On Thu, Oct 26, 2023 at 4:50 PM John Hoyt <john.hoyt at gmail.com> wrote:
> 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
>
Thanks to a quick response from David H. on the github issue, this issue
has now been resolved.
Thanks David!
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mythtv.org/pipermail/mythtv-dev/attachments/20231026/4ba4864f/attachment.htm>
More information about the mythtv-dev
mailing list