Cannot get ffmpeg to work after installing from homebrew

前端 未结 2 963
陌清茗
陌清茗 2021-02-07 19:23

I installed ffmpeg through homebrew but when I try to run it, even just typing in ffmpeg I get the following error message:

dyld: Library not loaded         


        
相关标签:
2条回答
  • 2021-02-07 19:28

    I got it to work by running brew search liblzma which told me lzma is now part of the xz formula.

    So then I ran brew install xz and tried running ffmpeg again and it works now!

    0 讨论(0)
  • 2021-02-07 19:45

    What Worked Today

    I'm running OSX Mojave 10.14.5 and got the dyld: Library not loaded: /usr/local/lib/liblzma.5.dylib complaint.

    • brew install xz did not work
    • Reinstall worked like a boss
    brew uninstall --force ffmpeg && brew install ffmpeg
    
    0 讨论(0)
提交回复
热议问题