ffmpeg在Mac OS X Lion 10.7.1中启动时给出错误


8

我在装有Homebrew的Mac OS X Lion 10.7.1中安装了ffmpeg 0.8.5

brew install --use-gcc ffmpeg

它安装没有任何错误。但是,现在我跑步时,它提供以下内容-

dyld: Library not loaded: /usr/local/Cellar/ffmpeg/0.8.5/lib/libavdevice.dylib
  Referenced from: /usr/local/bin/ffmpeg
  Reason: Incompatible library version: ffmpeg requires version 53.0.0 or later, but libavdevice.dylib provides version 52.0.0
Trace/BPT trap: 5

Answers:


7

尝试使用:

$ brew update && brew install `brew outdated` && brew cleanup

脚本还将帮助您跟踪所需的库更改。

如果您不工作,请尝试:

$ brew doctor (check your setup for common problems)
$ brew missing (to check installed packages for missing deps)

Brew医生会检查您的设置是否存在常见问题,Brew丢失会检查已安装的软件包中是否缺少Dep。

您可以随时重新开始(应该解决所有问题):

$ brew uninstall --force `brew deps ffmpeg`
$ brew install ffmpeg

然后

$ brew update

对我没用:(但仍然感谢您的努力:)
Rifat

我已经添加了一对夫妇更多的解决方案的尝试,
欧莱雅L'升

brew uninstall --force brew deps ffmpeg``&重新安装为我完成了窍门,尽管它也卸载了git而重新安装却没有。
Ahmed Fasih 2014年

0

我跑了: brew install libav

然后在抱怨符号链接后: brew link --overwrite avconv

现在可以使用。

By using our site, you acknowledge that you have read and understand our Cookie Policy and Privacy Policy.
Licensed under cc by-sa 3.0 with attribution required.