[MacPorts] #63330: ffmpeg @4.4_2: dyld: Library not loaded: @rpath/libdav1d.5.dylib

MacPorts noreply at macports.org
Mon Aug 2 00:16:01 UTC 2021


#63330: ffmpeg @4.4_2: dyld: Library not loaded: @rpath/libdav1d.5.dylib
----------------------------+------------------------------
  Reporter:  cave-canem     |      Owner:  dbevans
      Type:  defect         |     Status:  assigned
  Priority:  Normal         |  Milestone:
 Component:  ports          |    Version:  2.6.99
Resolution:                 |   Keywords:  mavericks sierra
      Port:  ffmpeg, dav1d  |
----------------------------+------------------------------

Comment (by kencu):

 could you show us what your dav1d library looks like? Here is mine:
 {{{
 $ otool -L /opt/local/lib/libdav1d.5.dylib
 /opt/local/lib/libdav1d.5.dylib:
         /opt/local/lib/libdav1d.5.dylib (compatibility version 5.0.0,
 current version 5.0.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 1252.50.4)
 }}}

 my ffmpeg binary has proper links, with no @rpath references:
 {{{
 $ otool -L /opt/local/bin/ffmpeg
 /opt/local/bin/ffmpeg:
         /opt/local/lib/libavdevice.58.dylib (compatibility version 58.0.0,
 current version 58.13.100)
         /opt/local/lib/libavfilter.7.dylib (compatibility version 7.0.0,
 current version 7.110.100)
         /opt/local/lib/libavformat.58.dylib (compatibility version 58.0.0,
 current version 58.76.100)
         /opt/local/lib/libavcodec.58.dylib (compatibility version 58.0.0,
 current version 58.134.100)
         /opt/local/lib/libavresample.4.dylib (compatibility version 4.0.0,
 current version 4.0.0)
         /opt/local/lib/libpostproc.55.dylib (compatibility version 55.0.0,
 current version 55.9.100)
         /opt/local/lib/libswresample.3.dylib (compatibility version 3.0.0,
 current version 3.9.100)
         /opt/local/lib/libswscale.5.dylib (compatibility version 5.0.0,
 current version 5.9.100)
         /opt/local/lib/libavutil.56.dylib (compatibility version 56.0.0,
 current version 56.70.100)
 /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation
 (compatibility version 300.0.0, current version 1455.255.0)
 /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox
 (compatibility version 1.0.0, current version 492.0.0)
 /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio
 (compatibility version 1.0.0, current version 1.0.0)
         /usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current
 version 1252.50.4)
 /System/Library/Frameworks/AVFoundation.framework/Versions/A/AVFoundation
 (compatibility version 1.0.0, current version 2.0.0)
 /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo
 (compatibility version 1.2.0, current version 1.5.0)
 /System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia
 (compatibility version 1.0.0, current version 1.0.0)
 /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics
 (compatibility version 64.0.0, current version 1161.21.5)
         /opt/local/lib/libSDL2-2.0.0.dylib (compatibility version 15.0.0,
 current version 15.0.0)
         /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL
 (compatibility version 1.0.0, current version 1.0.0)
         /opt/local/lib/libfribidi.0.dylib (compatibility version 5.0.0,
 current version 5.0.0)
         /opt/local/lib/libass.9.dylib (compatibility version 11.0.0,
 current version 11.2.0)
 /System/Library/Frameworks/CoreImage.framework/Versions/A/CoreImage
 (compatibility version 1.0.1, current version 5.0.0)
         /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit
 (compatibility version 45.0.0, current version 1561.61.100)
         /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL
 (compatibility version 1.0.0, current version 1.0.0)
         /opt/local/lib/libfontconfig.1.dylib (compatibility version
 14.0.0, current version 14.0.0)
         /opt/local/lib/libfreetype.6.dylib (compatibility version 24.0.0,
 current version 24.4.0)
         /opt/local/lib/libbz2.1.0.dylib (compatibility version 1.0.0,
 current version 1.0.8)
         /opt/local/lib/libmodplug.1.dylib (compatibility version 2.0.0,
 current version 2.0.0)
         /opt/local/lib/libbluray.2.dylib (compatibility version 7.0.0,
 current version 7.0.0)
         /opt/local/lib/libz.1.dylib (compatibility version 1.0.0, current
 version 1.2.11)
         /opt/local/lib/libgnutls.30.dylib (compatibility version 59.0.0,
 current version 59.2.0)
         /opt/local/lib/libvpx.6.dylib (compatibility version 1.0.0,
 current version 1.0.0)
         /opt/local/lib/libiconv.2.dylib (compatibility version 9.0.0,
 current version 9.1.0)
         /opt/local/lib/liblzma.5.dylib (compatibility version 8.0.0,
 current version 8.5.0)
         /opt/local/lib/libdav1d.5.dylib (compatibility version 5.0.0,
 current version 5.0.0)
         /opt/local/lib/librsvg-2.2.dylib (compatibility version 50.0.0,
 current version 50.0.0)
         /opt/local/lib/libgio-2.0.0.dylib (compatibility version 5801.0.0,
 current version 5801.3.0)
         /opt/local/lib/libgdk_pixbuf-2.0.0.dylib (compatibility version
 4201.0.0, current version 4201.2.0)
         /opt/local/lib/libgobject-2.0.0.dylib (compatibility version
 5801.0.0, current version 5801.3.0)
         /opt/local/lib/libglib-2.0.0.dylib (compatibility version
 5801.0.0, current version 5801.3.0)
         /opt/local/lib/libintl.8.dylib (compatibility version 10.0.0,
 current version 10.5.0)
 /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation
 (compatibility version 150.0.0, current version 1455.255.0)
         /opt/local/lib/libcairo.2.dylib (compatibility version 11603.0.0,
 current version 11603.0.0)
         /opt/local/lib/libmp3lame.0.dylib (compatibility version 1.0.0,
 current version 1.0.0)
         /opt/local/lib/libopenjp2.7.dylib (compatibility version 7.0.0,
 current version 2.4.0)
         /opt/local/lib/libopus.0.dylib (compatibility version 9.0.0,
 current version 9.0.0)
         /opt/local/lib/libspeex.1.dylib (compatibility version 7.0.0,
 current version 7.1.0)
         /opt/local/lib/libtheoraenc.1.dylib (compatibility version 3.0.0,
 current version 3.2.0)
         /opt/local/lib/libtheoradec.1.dylib (compatibility version 3.0.0,
 current version 3.4.0)
         /opt/local/lib/libogg.0.dylib (compatibility version 9.0.0,
 current version 9.4.0)
         /opt/local/lib/libvorbis.0.dylib (compatibility version 5.0.0,
 current version 5.9.0)
         /opt/local/lib/libvorbisenc.2.dylib (compatibility version 3.0.0,
 current version 3.12.0)
         /opt/local/lib/libx264.157.dylib (compatibility version 0.0.0,
 current version 0.0.0)
         /opt/local/lib/libx265.192.dylib (compatibility version 192.0.0,
 current version 192.0.0)
 /System/Library/Frameworks/VideoToolbox.framework/Versions/A/VideoToolbox
 (compatibility version 1.0.0, current version 1.0.0)
 /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices
 (compatibility version 1.0.0, current version 822.37.0)
         /opt/local/lib/libsoxr.0.dylib (compatibility version 0.0.0,
 current version 0.1.2)
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/63330#comment:4>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list