从自制软件安装后无法让 ffmpeg 工作
Cannot get ffmpeg to work after installing from homebrew
我通过自制软件安装了 ffmpeg,但是当我尝试 运行 它时,即使只是输入 ffmpeg
我也会收到以下错误消息:
dyld: Library not loaded: /usr/local/lib/liblzma.5.dylib
Referenced from: /usr/local/bin/ffmpeg
Reason: Incompatible library version: ffmpeg requires version 8.0.0 or later, but liblzma.5.dylib provides version 6.0.0
Trace/BPT trap: 5
我试过 运行宁 brew update
和 brew upgrade
但这并没有改变任何东西。 运行 brew doctor
我得到的唯一错误是:
Warning: You have a curlrc file
If you have trouble downloading packages with Homebrew, then maybe this
is the problem? If the following command doesn't work, then try removing
your curlrc:
curl http://github.com
终端操作新手,下一步该做什么?
我通过 运行 brew search liblzma
告诉我 lzma is now part of the xz formula.
让它工作
然后我 运行 brew install xz
又试了一次 运行 ffmpeg
现在可以用了!
今天有效的方法
我是 运行 OSX Mojave 10.14.5 并收到 dyld: Library not loaded: /usr/local/lib/liblzma.5.dylib
投诉。
brew install xz
没用
- 重新安装非常有效
brew uninstall --force ffmpeg && brew install ffmpeg
我通过自制软件安装了 ffmpeg,但是当我尝试 运行 它时,即使只是输入 ffmpeg
我也会收到以下错误消息:
dyld: Library not loaded: /usr/local/lib/liblzma.5.dylib
Referenced from: /usr/local/bin/ffmpeg
Reason: Incompatible library version: ffmpeg requires version 8.0.0 or later, but liblzma.5.dylib provides version 6.0.0
Trace/BPT trap: 5
我试过 运行宁 brew update
和 brew upgrade
但这并没有改变任何东西。 运行 brew doctor
我得到的唯一错误是:
Warning: You have a curlrc file
If you have trouble downloading packages with Homebrew, then maybe this
is the problem? If the following command doesn't work, then try removing
your curlrc:
curl http://github.com
终端操作新手,下一步该做什么?
我通过 运行 brew search liblzma
告诉我 lzma is now part of the xz formula.
然后我 运行 brew install xz
又试了一次 运行 ffmpeg
现在可以用了!
今天有效的方法
我是 运行 OSX Mojave 10.14.5 并收到 dyld: Library not loaded: /usr/local/lib/liblzma.5.dylib
投诉。
brew install xz
没用- 重新安装非常有效
brew uninstall --force ffmpeg && brew install ffmpeg