Skip to content

Instantly share code, notes, and snippets.

@lwneal
Created August 31, 2015 04:09
Show Gist options
  • Save lwneal/63bb5634007e71656975 to your computer and use it in GitHub Desktop.
Save lwneal/63bb5634007e71656975 to your computer and use it in GitHub Desktop.
Failure of `brew install mkvtoolnix` in non-default directory
$ brew install mkvtoolnix
==> Downloading https://www.bunkus.org/videotools/mkvtoolnix/sources/mkvtoolnix-8.3.0.tar.xz
Already downloaded: /Library/Caches/Homebrew/mkvtoolnix-8.3.0.tar.xz
==> ./configure --prefix=/Users/username/homebrew/Cellar/mkvtoolnix/8.3.0 --without-curl --with-boost=/Users/username/homebrew/opt/boost --with-extra-includes=/Users/username/homebrew/opt/libogg/includ
==> ./drake -j8
#include <ebml/c/libebml_t.h>
^
AR lib/pugixml/src/libpugixml.a
RANLIB lib/pugixml/src/libpugixml.a
2 warnings and 1 error generated.
READ THIS: https://git.io/brew-troubleshooting
These open issues may also help:
mkvtoolnix-gui in 8.2.0 missing (--with-qt5) https://github.com/Homebrew/homebrew/issues/42480
@lwneal
Copy link
Author

lwneal commented Aug 31, 2015

One workaround is to temporarily symlink /usr/local/ to your homebrew installation directory.

sudo ln -s ~/homebrew/lib/ /usr/local/lib
sudo ln -s ~/homebrew/include/ /usr/local/include
brew install mkvtoolnix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment