brew command and not brew installing or the post-install behaviour of one or more formulae? If it's a formulae-specific problem please file this issue at https://github.com/Homebrew/homebrew-core/issues/newbrew update and retried your prior step?brew doctor, fixed all issues and retried your prior step?brew config and brew doctor and included their output with your issue?Please note we will close your issue without comment if you delete or do not fill out the issue checklist and provide ALL the requested information.
To help us debug your issue please explain:
brew commands)I update all components with brew update. After this I catch error
php -v
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/opt/php71-intl/intl.so' - dlopen(/usr/local/opt/php71-intl/intl.so, 9): Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.58.dylib
Referenced from: /usr/local/opt/php71-intl/intl.so
Reason: image not found in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/usr/local/opt/php71-intl/intl.so' - dlopen(/usr/local/opt/php71-intl/intl.so, 9): Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.58.dylib
Referenced from: /usr/local/opt/php71-intl/intl.so
Reason: image not found in Unknown on line 0
PHP 7.1.8 (cli) (built: Aug 7 2017 15:02:45) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
with Xdebug v2.5.5, Copyright (c) 2002-2017, by Derick Rethans
brew update & brew doctor & brew config don't help.
ls -la /usr/local/bin/php
/usr/local/bin/php -> ../Cellar/php71/7.1.8_20/bin/php
/usr/local/Cellar/php71-intl $ ls
7.1.8_17
Please note we may immediately close your issue without comment if you do not fill out the issue template and provide the requested information.
@MikeMcQuaid I changed description. Please re open issue.
Same issue here 鈥撀爎ight after brew update.
trogwar@macboop ~> brew update & brew doctor & brew config
[1] 96895
[2] 96896
HOMEBREW_VERSION: 1.3.1
ORIGIN: https://github.com/Homebrew/brew
HEAD: 69799d97b1e7314912b2ee234dec2c179c5fb969
Last commit: 7 days ago
Core tap ORIGIN: https://github.com/Homebrew/homebrew-core
Core tap HEAD: 527a196b22cde84cdeb3f920f8fd42ee201ce4c9
Core tap last commit: 20 minutes ago
HOMEBREW_PREFIX: /usr/local
HOMEBREW_REPOSITORY: /usr/local/Homebrew
HOMEBREW_CELLAR: /usr/local/Cellar
HOMEBREW_BOTTLE_DOMAIN: https://homebrew.bintray.com
CPU: quad-core 64-bit broadwell
Homebrew Ruby: 2.0.0-p648
Clang: 8.1 build 802
Git: 2.14.1 => /usr/local/bin/git
Perl: /usr/bin/perl
Python: /usr/local/opt/python/libexec/bin/python => /usr/local/Cellar/python/2.7.13_1/Frameworks/Python.framework/Versions/2.7/bin/python2.7
Ruby: /usr/bin/ruby => /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby
Java: 1.8.0_131
macOS: 10.12.6-x86_64
Xcode: 8.3.3
CLT: 8.3.2.0.1.1492020469
X11: 2.7.11 => /opt/X11
trogwar@macboop ~> Already up-to-date.
[1] - 96895 done brew update
trogwar@macboop ~> Your system is ready to brew.
[2] + 96896 done brew doctor
trogwar@macboop ~> php -v
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/local/opt/php71-intl/intl.so' - dlopen(/usr/local/opt/php71-intl/intl.so, 9): Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.58.dylib
Referenced from: /usr/local/opt/php71-intl/intl.so
Reason: image not found in Unknown on line 0
Warning: PHP Startup: Unable to load dynamic library '/usr/local/opt/php71-intl/intl.so' - dlopen(/usr/local/opt/php71-intl/intl.so, 9): Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.58.dylib
Referenced from: /usr/local/opt/php71-intl/intl.so
Reason: image not found in Unknown on line 0
PHP 7.1.8 (cli) (built: Aug 7 2017 15:02:45) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.1.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.1.8, Copyright (c) 1999-2017, by Zend Technologies
with Xdebug v2.5.5, Copyright (c) 2002-2017, by Derick Rethans
Updating icu4c has no effect (even reinstalling with --ignore-dependencies): Warning: icu4c 59.1 is already installed.
Yes this is due to the icu4c 59 update (https://github.com/Homebrew/homebrew-core/pull/16720) and should be reported to the php tap (https://github.com/Homebrew/homebrew-php/).
As a workaround, you can try brew reinstall --build-from-source php71-intl
See https://github.com/Homebrew/homebrew-php/pull/4382 which will fix it.
Most helpful comment
Yes this is due to the icu4c 59 update (https://github.com/Homebrew/homebrew-core/pull/16720) and should be reported to the php tap (https://github.com/Homebrew/homebrew-php/).
As a workaround, you can try
brew reinstall --build-from-source php71-intl