<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><div>Sorry to bother everyone again,</div><div><br></div>I have a shell script that has been working fine for several years which uses ffmpeg to add audio to a video.<div><br></div><div>It stopped working after migrating to the latest MacPorts.</div><div><br></div><div>I can’t tell you the version of ffmpeg because:</div><div><br></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div>Sellotape:bin mnewman$ ffmpeg -version</div></div><div><div>dyld[10354]: Library not loaded: /opt/local/lib/libavcodec.58.dylib</div></div><div><div> Referenced from: <248D2E71-7C97-3A27-99F5-2D7EB9E6BCE7> /opt/local/bin/ffmpeg</div></div><div><div> 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><div>Abort trap: 6</div></div><div><br></div></blockquote>A similar error appears when the script tries to run ffmpeg:<div><br></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><div>Thu Oct 3 06:50:00 +07 2024 YouTube Korat Upload</div></div><div><div>dyld[9528]: Library not loaded: /opt/local/lib/libavcodec.58.dylib</div></div><div><div> Referenced from: <248D2E71-7C97-3A27-99F5-2D7EB9E6BCE7> /opt/local/bin/ffmpeg</div></div><div><div> 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><div><br></div><blockquote style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><br></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><br></div><div>Mike Newman</div><div><br></div><div><br></div></div></body></html>