Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I installed ffmpeg 0.8.5 in my Mac OS X Lion 10.7.1 with Homebrew

brew install --use-gcc ffmpeg

It installed without any error. But, now when I run, it gives the following -

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
share|improve this question
up vote 7 down vote accepted

Try using:

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

This script will also help you track down changes on libraries that are needed.

If you those don't work try:

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

brew doctor checks your setup for common problems, brew missing checks installed packages for missing deps.

You can always start fresh (which should take care of all the problems):

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


$ brew update
share|improve this answer
Didn't work for me :( but still thanks for your effort :) – Rifat Oct 10 '11 at 21:06
I've added a couple more solutions to try, – l'L'l Oct 10 '11 at 21:43
brew uninstall --force brew deps ffmpeg`` & reinstalling did the trick for me, though it also uninstalled git and the reinstall didn't. – Ahmed Fasih Dec 25 '14 at 10:00

I ran: brew install libav

then after it complained about symlinking: brew link --overwrite avconv

Works now.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.