I noticed that irssi is now referencing the Mac supplied /usr/bin/perl (5.18) instead of homebrew supplied /usr/local/bin/perl (5.28), in which the first is missing required libraries/modules from it’s search path. Irssi fails on start:
Can’t locate lib.pm: Permission denied at (eval 8) line 1.
BEGIN failed–compilation aborted at (eval 8) line 1.
Running autoreconf …
Can’t locate strict.pm: Permission denied at /usr/local/Cellar/autoconf/2.69/share/autoconf/Autom4te/Channels.pm line 70.
I noticed this using automake and irssi, which are just a couple examples.
Is this a homebrew bug, my misconfiguration, or something on the Apple side? Maybe the homebrew packages need to reference #!/usr/local/bin/perl instead to allow Homebrew and Xcode to work as designed.
I tried changing the perl binary, but no permissions to do so:
$ sudo mv /usr/bin/perl /usr/bin/perl.mac.bak
mv: rename /usr/bin/perl to /usr/bin/perl.mac.bak: Operation not permitted
Surprised this wasn’t caught before.