Skip to content
This repository has been archived by the owner on Feb 1, 2018. It is now read-only.

Common Issues

sseth edited this page Oct 19, 2015 · 39 revisions

Cyclic dependency for gcc

Error looks like this

gcc asks for zlib, and zlib asks for gcc !

$ brew install gcc
==> Installing dependencies for gcc: zlib, gmp, mpfr, libmpc, isl
==> Installing gcc dependency: zlib
Error: zlib cannot be built with any available compilers.
To install this formula, you may need to:
  brew install gcc

Possible solution:

brew install opam --cc=gcc

If this does not solve the issue, refer here: https://github.com/Homebrew/linuxbrew/issues/609


Clone this wiki locally