笔记笔记
  • Home
  • AI&ML
  • Example
  • Zoo
  • 关于
⌘ K
ffmpeg
macOS 遇到的问题
最后更新时间:
Copyright © 2023-2024 | Powered by dumi | GuoDapeng | 冀ICP备20004032号-1 | 冀公网安备 冀公网安备 13024002000293号

TABLE OF CONTENTS

‌
‌
‌
‌

macOS 遇到的问题

nettle

$ ffprobe -show_streams -v quiet -of json -i movie.mp4
dyld[12349]: Library not loaded: /usr/local/opt/nettle/lib/libnettle.8.dylib
Referenced from: <B451EB3B-6E0D-31EF-92D4-C26F9B5FB41B> /usr/local/Cellar/gnutls/3.8.0/lib/libgnutls.30.dylib
Reason: tried: '/usr/local/opt/nettle/lib/libnettle.8.dylib' (no such file), '/System/Volumes/Preboot/Cryptexes/OS/usr/local/opt/nettle/lib/libnettle.8.dylib' (no such file), '/usr/local/opt/nettle/lib/libnettle.8.dylib' (no such file), '/usr/local/lib/libnettle.8.dylib' (no such file), '/usr/lib/libnettle.8.dylib' (no such file, not in dyld cache)
[1] 12349 abort ffprobe -show_streams -v quiet -of json -i movie.mp4

这里遇到了 nettle 出现问题。

使用 brew reinstall nettle 重装即可。我试了两次装好的。

安装之前可以 brew update 更新一下。

$ brew reinstall nettle
==> Fetching nettle
==> Downloading https://ghcr.io/v2/homebrew/core/nettle/manifests/3.9
Already downloaded: /Users/felix/Library/Caches/Homebrew/downloads/aaac45feff06d37aefef011d7c92bb4d2dc00776c14d2ef4f48facf1365403eb--nettle-3.9.bottle_manifest.json
==> Downloading https://ghcr.io/v2/homebrew/core/nettle/blobs/sha256:ce695fb7726b6e23ffa11f986200e57beb6491dafaee565b425e1bd6a6df99e7
Already downloaded: /Users/felix/Library/Caches/Homebrew/downloads/6c697ac11cf4e0a2645128a75cd68b63b4d99f16327c3161af0a302227015568--nettle--3.9.ventura.bottle.tar.gz
==> Reinstalling nettle
==> Pouring nettle--3.9.ventura.bottle.tar.gz
🍺 /usr/local/Cellar/nettle/3.9: 94 files, 2.6MB
==> Running `brew cleanup nettle`...
Disable this behaviour by setting HOMEBREW_NO_INSTALL_CLEANUP.
Hide these hints with HOMEBREW_NO_ENV_HINTS (see `man brew`).