I tried this: Sellotape:bin mnewman$ sudo port -v rev-upgrade Password: ---> Updating database of binaries ---> Scanning binaries for linking errors Could not open /opt/local/lib/libavcodec.58.dylib: Not a Mach-O file (referenced from /opt/local/bin/ffmpeg) ---> No broken files found. ---> No broken ports found.
And selfupdate and upgrade: The ports tree has been updated. All installed ports are up to date. Sellotape:bin mnewman$ sudo port -v upgrade outdated Nothing to upgrade. ---> Scanning binaries for linking errors Could not open /opt/local/lib/libavcodec.58.dylib: Not a Mach-O file (referenced from /opt/local/bin/ffmpeg) ---> No broken files found. ---> No broken ports found. Should I remove the port and install again, or what? > On Oct 3, 2024, at 09:44, Ken Cunningham <[email protected]> > wrote: > > Not a systemic issue with the software or MacPorts, as with > > % port -v installed ffmpeg > The following ports are currently installed: > ffmpeg @4.4.4_8+gpl2 (active) requested_variants='' platform='darwin 24' > archs='arm64' date='2024-09-25T14:50:44-0700' > > I see: > > % ffmpeg -version > ffmpeg version 4.4.4 Copyright (c) 2000-2023 the FFmpeg developers > built with Apple clang version 16.0.0 (clang-1600.0.26.3) > configuration: --prefix=/opt/local --cc=/usr/bin/clang > --mandir=/opt/local/share/man --enable-audiotoolbox --disable-indev=jack > --disable-libjack --disable-libopencore-amrnb --disable-libopencore-amrwb > --disable-libxcb --disable-libxcb-shm --disable-libxcb-xfixes --enable-opencl > --disable-outdev=xv --enable-sdl2 --disable-securetransport > --enable-videotoolbox --enable-avfilter --enable-avresample > --enable-fontconfig --enable-gnutls --enable-libass --enable-libbluray > --enable-libdav1d --enable-libfreetype --enable-libfribidi > --enable-libmodplug --enable-libmp3lame --enable-libopenjpeg --enable-libopus > --enable-librsvg --enable-libsoxr --enable-libspeex --enable-libtheora > --enable-libvorbis --enable-libvpx --enable-libzimg --enable-libzvbi > --enable-lzma --enable-pthreads --enable-shared --enable-swscale > --enable-zlib --enable-libaom --enable-libsvtav1 --arch=arm64 --enable-gpl > --enable-libvidstab --enable-libx264 --enable-libx265 --enable-libxvid > --enable-postproc > libavutil 56. 70.100 / 56. 70.100 > libavcodec 58.134.100 / 58.134.100 > libavformat 58. 76.100 / 58. 76.100 > libavdevice 58. 13.100 / 58. 13.100 > libavfilter 7.110.100 / 7.110.100 > libavresample 4. 0. 0 / 4. 0. 0 > libswscale 5. 9.100 / 5. 9.100 > libswresample 3. 9.100 / 3. 9.100 > libpostproc 55. 9.100 / 55. 9.100 > > > > you might try doing this: > > sudo port -v rev-upgrade > > and of course, if you have not updated your ports lately, that would be step > 1 to consider: > > sudo port seflupdate > sudo port -v upgrade outdated > > Best, > > Ken > > > >> On Oct 2, 2024, at 6:49 PM, Michael Newman via macports-users >> <[email protected]> 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 >> >> >
smime.p7s
Description: S/MIME cryptographic signature
