I had to compile Kicad to run in my old 10.8.4.
The problem seems to be dependencies. I think the official binaries on the kicad site were compiled using a 10.10 machine, so if anyone tries to download and run it on a 10.8 or 10.9, they get the error.
Here are the steps I did to fix the problem: (at least worked in my case)
I first updated my brew, it's been a long time since I last did this.
~ $ brew updateI read a thread about cairo needed, so I installed cairo
/usr/local/Cellar/cairo/1.14.2_1/bin/cairo-trace
/usr/local/Cellar/cairo/1.14.2_1/bin/cairo-sphinx
/usr/local/Cellar/cairo/1.14.2_1/include/cairo/ (14 files)
/usr/local/Cellar/cairo/1.14.2_1/lib/libcairo-gobject.2.dylib
/usr/local/Cellar/cairo/1.14.2_1/lib/libcairo-script-interpreter.2.dylib
/usr/local/Cellar/cairo/1.14.2_1/lib/libcairo.2.dylib
/usr/local/Cellar/cairo/1.14.2_1/lib/cairo/ (9 files)
/usr/local/Cellar/cairo/1.14.2_1/lib/pkgconfig/ (13 files)
/usr/local/Cellar/cairo/1.14.2_1/lib/ (6 other files)
/usr/local/Cellar/cairo/1.14.2_1/share/gtk-doc/ (64 files)
But that didn't fix the problem.
Okay, so let's re-compile kicad to run on my 10.8.4 machine.
~ $ brew tap metacollin/kicadCloning into '/usr/local/Library/Taps/metacollin/homebrew-kicad'...
remote: Counting objects: 8, done.
remote: Compressing objects: 100% (8/8), done.
remote: Total 8 (delta 0), reused 4 (delta 0), pack-reused 0
Unpacking objects: 100% (8/8), done.
Checking connectivity... done
Tapped 4 formulae (24 files, 140K)
Then do a
~ $ brew install kicad --HEAD==> Installing kicad from metacollin/homebrew-kicad
==> Installing dependencies for metacollin/kicad/kicad: bazaar, cmake, swig, glew, wxkicad, b
==> Installing metacollin/kicad/kicad dependency: bazaar
==> Downloading
https://homebrew.bintray.com/bottles/bazaar-2.6.0_2.mountain_lion.bottle.tar.gz//// CUT FOR BREVITY
Updating /Library/Caches/Homebrew/kicad--git
==> Checking out branch master
==> cmake ../ -DCMAKE_C_FLAGS_RELEASE= -DCMAKE_CXX_FLAGS_RELEASE= -DCMAKE_INSTALL_PREFIX=/usr/local/
==> make
==> make install
==> Caveats
Kicad Extras can be found at
http://downloads.kicad-pcb.org/osx/.app bundles were installed.
==> Summary
/usr/local/Cellar/kicad/HEAD: 202 files, 67M, built in 28.5 minutes
Then do a final
~ $ brew linkapps kicadLinking /usr/local/opt/kicad/bitmap2component.app to /Applications.
Linking /usr/local/opt/kicad/eeschema.app to /Applications.
Linking /usr/local/opt/kicad/gerbview.app to /Applications.
Linking /usr/local/opt/kicad/kicad.app to /Applications.
Linking /usr/local/opt/kicad/pcb_calculator.app to /Applications.
Linking /usr/local/opt/kicad/pcbnew.app to /Applications.
Linking /usr/local/opt/kicad/pl_editor.app to /Applications.
My kicad files are stored not in /Applications but in /usr/local so I only have the link files under /Applications/kicad
And voila!
Hope this post can be of help to others encountering the same problem.