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

MacPorts noreply at macports.org
Mon Aug 2 13:17:41 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 ctreleaven):

 @cave-canem, is there some particular reason you are using a compiler not
 specified in the port?

 The build logs for dav1d 0.9.1 are available for now.  The main.log for
 the OSX 10.9 builder is at
 https://build.macports.org/builders/ports-10.9_x86_64-builder/builds/155679/steps
 /install-port/logs/main.log

 The configure phase starts with:

 {{{
 :notice:configure --->  Configuring dav1d
 :debug:configure Preferred compilers: clang macports-clang-9.0 macports-
 clang-8.0 macports-clang-7.0 macports-clang-6.0 macports-clang-5.0
 macports-clang-12 macports-clang-11 macports-clang-10 macports-clang-3.7
 macports-clang-3.4
 :debug:configure Using compiler 'MacPorts Clang 9.0'
 :debug:configure Executing org.macports.configure (dav1d)
 :debug:configure Environment:
 :debug:configure CC='/opt/local/bin/clang-mp-9.0'
 }}}

 When linking the libarary, it does include the directive '-install_name
 @rpath/libdav1d.5.dylib'.  Unfortunately, I'm unable to find build logs
 for dav1d 0.9.0 to see if this has changed.

 On the 10.9 builder, meson throws the following WARNING/error:
 {{{
 :info:build [113/114]
 /opt/local/Library/Frameworks/Python.framework/Versions/3.9/bin/meson
 --internal symbolextractor
 /opt/local/var/macports/build/_opt_bblocal_var_buildworker_ports_build_ports_multimedia_dav1d/dav1d/work/build
 src/libdav1d.5.dylib src/libdav1d.5.dylib
 src/libdav1d.5.dylib.p/libdav1d.5.dylib.symbols
 :info:build WARNING: ['nm'] does not work. Relinking will always happen on
 source changes.
 :info:build error: /Library/Developer/CommandLineTools/usr/bin/nm: invalid
 argument --
 :info:build Usage: /Library/Developer/CommandLineTools/usr/bin/nm
 [-agnopruUmxjlfAP[s segname sectname] [-] [-t format] [[-arch <arch_flag>]
 ...] [file ...]
 }}}

 The 10.14 build log does not have such a report.  I don't know much about
 meson internals but I would guess this is where the difference occurs.
 I'll check for this error on the 10.10, 10.11, etc builders.

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


More information about the macports-tickets mailing list