我通过自制程序安装了 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
and 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
再次,现在可以了!
本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)