Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Unable to load dynamic library '/usr/local/opt/php71-intl/intl.so'? #26074
I used to have
I've tried uninstalling everything PHP related, then I ran:
While it seems to link fine (see above screenshot), I can't get rid of that php71-intl.so warning, and now I can't run Valet to serve up sites anymore.
Anyone else having this issue? Kinda stuck here without a fully working version of PHP
The fix is actually quite easy. Since the library is now in the core of PHP and should be managed using pecl. One should delete the include in the conf.d directory of the PHP version you're running. E.G: For PHP 7.1 I would remove the following:
That is actually a valet+ error which does not belong to the homebrew repository. I will soon open a new issue within the valet-plus repository. Valet-plus is currently still using the old tap and needs to be rebuild for the new kind of PHP management provided by homebrew/core.
A quick fix to that would be:
And then restarting your terminal.