ffmpeg dyld: Library not loaded: /usr/local/lib/libmp3lame.0.dylib

7,287

I resolved this by running the following commands in terminal (I use the package manager homebrew for managing Unix based tools under OSX)

brew uninstall lame
brew install lame
sudo brew link lame
Share:
7,287

Related videos on Youtube

codecowboy
Author by

codecowboy

Stackoverflow is my rubber duck.

Updated on September 18, 2022

Comments

  • codecowboy
    codecowboy over 1 year

    I am getting this error when running ffmpeg on OSX Yosemite 10.10.2

    ffmpeg
    dyld: Library not loaded: /usr/local/lib/libmp3lame.0.dylib
      Referenced from: /usr/local/bin/ffmpeg
      Reason: image not found
    Trace/BPT trap: 5
    

    How do I install / compile libmp3lame.0.dylib ? ffmpeg was installed using homebrew

  • CharlieRB
    CharlieRB over 9 years
    The quality of this answer is very low. Please improve it by including some content such as steps or details how this is the proper answer.
  • slhck
    slhck over 9 years
    You should not need sudo for this and Homebrew should have refused to work with sudo. I think the linking step isn't even required.
  • tom
    tom over 6 years
    brew uninstall lame failed because I already had ffmpeg installed. It told me I had to do brew uninstall --ignore-dependencies lame which I did, and then brew install lame and it worked fine. I did not need to use sudo.
  • Alexey Sh.
    Alexey Sh. over 4 years
    didn't help....