Install Wine on Mac Mountain Lion with Homebrew

It was nice to see that I could

brew install wine

Until it failed trying to install libicns:

==> ./configure --prefix=/usr/local/Cellar/libicns/0.8.1
==> make install
_WritePNGImage in icns2png.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[1]: *** [icns2png] Error 1
make: *** [install-recursive] Error 1

READ THIS: https://github.com/mxcl/homebrew/wiki/troubleshooting

These open issues may also help:
https://github.com/mxcl/homebrew/issues/15478

Fortunately the second link showed what needed to be done:

brew rm libpng
brew remove freetype
brew install libpng --universal
brew install freetype --universal
brew install wine

You May Also Like

About the Author: Robert J Berger