[FFmpeg-trac] #10979(build system:new): ffmpeg-7.0 built with clang (XCode 15.3) crashes: dyld[72631]: Library not loaded: @rpath/libatomic.1.dylib
FFmpeg
trac at avcodec.org
Fri Apr 26 20:30:14 EEST 2024
#10979: ffmpeg-7.0 built with clang (XCode 15.3) crashes: dyld[72631]: Library not
loaded: @rpath/libatomic.1.dylib
-------------------------------------+-------------------------------------
Reporter: Mario Grgic | Type: defect
Status: new | Priority: normal
Component: build | Version:
system | unspecified
Keywords: libatomic | Blocked By:
clang |
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
-------------------------------------+-------------------------------------
Summary of the bug: Built ffmpeg-7.0 from source using clang-1500.3.9.4
(XCode 15.3) on macOS Sonoma 14.4.1. The build succeeds but then ffmpeg
crashes due to unsatisfied dynamic library load:
{{{
$ ./ffmpeg
dyld[72631]: Library not loaded: @rpath/libatomic.1.dylib
Referenced from: <32529182-3CA7-3CF7-AF95-24763B012073>
/Volumes/ramdisk/ffmpeg/compile/ffmpeg-7.0/ffmpeg
Reason: no LC_RPATH's found
Abort trap: 6
}}}
Please note that I also have GNU gcc 13.2 installed in /usr/local and this
does have libatomic.1.dylib in /usr/local/lib, however, ffmpeg should not
be linking against it, since it is not being built with /usr/local/bin/gcc
--
Ticket URL: <https://trac.ffmpeg.org/ticket/10979>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list