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
Related videos on Youtube
Comments
-
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 over 9 yearsThe 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 over 9 yearsYou 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 over 6 years
brew uninstall lame
failed because I already had ffmpeg installed. It told me I had to dobrew uninstall --ignore-dependencies lame
which I did, and thenbrew install lame
and it worked fine. I did not need to use sudo. -
Alexey Sh. over 4 yearsdidn't help....