ffmpeg - Abort trap 6

Michael Newman mgnewman at mac.com
Thu Oct 3 01:49:39 UTC 2024


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/20241003/8a3b9f28/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 1370 bytes
Desc: not available
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20241003/8a3b9f28/attachment.bin>


More information about the macports-users mailing list