<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class=""><div class="">sh-3.2$ port provides /opt/local/lib/libavcodec.58.134.100.dylib</div><div class="">/opt/local/lib/libavcodec.58.134.100.dylib is provided by: ffmpeg</div></div><div class=""><br class=""></div><div class="">So with no magic insight, I would wildly guess that it wouldn't hurt to try reinstalling the ffmpeg port. (the one with just the one part version number is a symlink to the one with the longer name, also provided by the ffmpeg port)</div><div class=""><br class=""></div><div class=""><br class=""></div><div class=""><br class=""></div><br class=""><div><br class=""><blockquote type="cite" class=""><div class="">On Oct 2, 2024, at 21:49, Michael Newman via macports-users <<a href="mailto:macports-users@lists.macports.org" class="">macports-users@lists.macports.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><meta http-equiv="content-type" content="text/html; charset=utf-8" class=""><div style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><div class="">Sorry to bother everyone again,</div><div class=""><br class=""></div>I have a shell script that has been working fine for several years which uses ffmpeg to add audio to a video.<div class=""><br class=""></div><div class="">It stopped working after migrating to the latest MacPorts.</div><div class=""><br class=""></div><div class="">I can’t tell you the version of ffmpeg because:</div><div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class=""><div class="">Sellotape:bin mnewman$ ffmpeg -version</div></div><div class=""><div class="">dyld[10354]: Library not loaded: /opt/local/lib/libavcodec.58.dylib</div></div><div class=""><div class="">  Referenced from: <248D2E71-7C97-3A27-99F5-2D7EB9E6BCE7> /opt/local/bin/ffmpeg</div></div><div class=""><div class="">  Reason: tried: '/opt/local/lib/libavcodec.58.dylib' (not a mach-o file), '/System/Volumes/Preboot/Cryptexes/OS/opt/local/lib/libavcodec.58.dylib' (no such file), '/opt/local/lib/libavcodec.58.dylib' (not a mach-o file), '/opt/local/lib/libavcodec.58.134.100.dylib' (not a mach-o file), '/System/Volumes/Preboot/Cryptexes/OS/opt/local/lib/libavcodec.58.134.100.dylib' (no such file), '/opt/local/lib/libavcodec.58.134.100.dylib' (not a mach-o file)</div></div><div class=""><div class="">Abort trap: 6</div></div><div class=""><br class=""></div></blockquote>A similar error appears when the script tries to run ffmpeg:<div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class=""><div class="">Thu Oct  3 06:50:00 +07 2024 YouTube Korat Upload</div></div><div class=""><div class="">dyld[9528]: Library not loaded: /opt/local/lib/libavcodec.58.dylib</div></div><div class=""><div class="">  Referenced from: <248D2E71-7C97-3A27-99F5-2D7EB9E6BCE7> /opt/local/bin/ffmpeg</div></div><div class=""><div class="">  Reason: tried: '/opt/local/lib/libavcodec.58.dylib' (not a mach-o file), '/System/Volumes/Preboot/Cryptexes/OS/opt/local/lib/libavcodec.58.dylib' (no such file), '/opt/local/lib/libavcodec.58.dylib' (not a mach-o file), '/opt/local/lib/libavcodec.58.134.100.dylib' (not a mach-o file), '/System/Volumes/Preboot/Cryptexes/OS/opt/local/lib/libavcodec.58.134.100.dylib' (no such file), '/opt/local/lib/libavcodec.58.134.100.dylib' (not a mach-o file)</div></div></blockquote><div class=""><div class=""><br class=""></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;" class=""><div class=""><br class=""></div></blockquote>I don’t know if this is something to report to the developer or if it is some sort of error when MacPorts was building the ffmpeg port or if it’s something I did wrong.<div class=""><br class=""></div><div class="">Mike Newman</div><div class=""><br class=""></div><div class=""><br class=""></div></div></div></div></blockquote></div><br class=""></body></html>