If you ever get an error message of “configure: error: C compiler cannot create executables” when executing
brew install readline, then do what’s suggested in a related Homebrew issue:
brew edit readline
- Comment out the line which starts with
- Re-execute your previous
The above also applies to the following packages:
Apparently the configuration specifying a Universal or PowerPC build target for libraries is in the library itself, not passed to it. If the library author wants to stop people using it on PowerPC, he/she can.