ffmpeg - Abort trap 6
Richard L. Hamilton
rlhamil at smart.net
Thu Oct 3 02:33:21 UTC 2024
sh-3.2$ port provides /opt/local/lib/libavcodec.58.134.100.dylib
/opt/local/lib/libavcodec.58.134.100.dylib is provided by: ffmpeg
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)
> On Oct 2, 2024, at 21:49, Michael Newman via macports-users <macports-users at lists.macports.org> wrote:
>
> Sorry to bother everyone again,
>
> I have a shell script that has been working fine for several years which uses ffmpeg to add audio to a video.
>
> It stopped working after migrating to the latest MacPorts.
>
> I can’t tell you the version of ffmpeg because:
>
> Sellotape:bin mnewman$ ffmpeg -version
> dyld[10354]: Library not loaded: /opt/local/lib/libavcodec.58.dylib
> Referenced from: <248D2E71-7C97-3A27-99F5-2D7EB9E6BCE7> /opt/local/bin/ffmpeg
> 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)
> Abort trap: 6
>
> A similar error appears when the script tries to run ffmpeg:
>
> Thu Oct 3 06:50:00 +07 2024 YouTube Korat Upload
> dyld[9528]: Library not loaded: /opt/local/lib/libavcodec.58.dylib
> Referenced from: <248D2E71-7C97-3A27-99F5-2D7EB9E6BCE7> /opt/local/bin/ffmpeg
> 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)
>
>
> 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.
>
> Mike Newman
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20241002/572bdabd/attachment.htm>
More information about the macports-users
mailing list