[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 22:51: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  |                    Owner:  (none)
                 Type:  defect       |                   Status:  new
             Priority:  normal       |                Component:  build
                                     |  system
              Version:  unspecified  |               Resolution:
             Keywords:  libatomic    |               Blocked By:
  clang                              |
             Blocking:               |  Reproduced by developer:  0
Analyzed by developer:  0            |
-------------------------------------+-------------------------------------
Comment (by Mario Grgic):

 Interestingly enough if I manually edit the ffmpeg binary to fix the @path

 {{{
 install_name_tool -change  @rpath/libatomic.1.dylib
 /usr/local/lib/libatomic.1.dylib ffmpeg
 }}}

 it runs without crash. However, not sure if it will work when the
 libatomic code is hit.
-- 
Ticket URL: <https://trac.ffmpeg.org/ticket/10979#comment:1>
FFmpeg <https://ffmpeg.org>
FFmpeg issue tracker


More information about the FFmpeg-trac mailing list