Skip to content

Instantly share code, notes, and snippets.

View gukoff's full-sized avatar

Konstantin Gukov gukoff

View GitHub Profile
In case you get such an error:
dyld: Library not loaded: /usr/local/opt/x264/lib/libx264.148.dylib
Referenced from: /usr/local/Cellar/ffmpeg/3.3.2/bin/ffmpeg
Reason: image not found
Abort trap: 6
1. Run `brew reinstall x264`
2. Locate the missing library in a new place. For example, mine was at /usr/local/Cellar/x264/r2748/lib/libx264.148.dylib
3. Link the library to the needed place: `link -s /usr/local/Cellar/x264/r2748/lib/libx264.148.dylib /usr/local/opt/x264/lib/libx264.148.dylib`