Reputation: 457
I have an error when install FFMPEG through homebrew on OS X Mavericks running this command brew install ffmpeg
:
Error: ffmpeg dependency x264 was built with the following
C++ standard library: libstdc++ (from clang)
This is incompatible with the standard library being used
to build ffmpeg: libc++ (from clang)
Please reinstall x264 using a compatible compiler.
hint: Check https://github.com/mxcl/homebrew/wiki/C++-Standard-Libraries
The complete history is : I has installed FFMPEG on Mountain Lion (that worked fine), but when upgrade it to Mavericks, FFMPEG fails to create an video in my Ruby on Rails app : Ruby on Rails : FFMPEG fails after upgrade Mountain Lion to Mavericks
Some idea or recommendation??
Thank you very much!
Upvotes: 1
Views: 3628
Reputation: 61
As said @CristianOrellanaBak - this is a Mavericks issue: libstdc++ (10.8), libc++ (10.9)
I have created a Git repository, which is a compilation of recommendations to solve this issue https://github.com/xvoland/brew-regenerate-packages
Upvotes: 4
Reputation: 4646
Sounds like you mixed c++11 and c++98 libs. Check the formulas and make sure they'll all consistent
Upvotes: 0
Reputation: 457
I solve it reinstalling ffmpeg with all dependencies :
better idea is format the hard disck and do a clean install..
Upvotes: 1