dyld: Library not loaded: /usr/local/opt/openldap/lib/libldap-2.4.2.dylib
ningkexin opened this issue · 4 comments
ningkexin commented
Describe the bug
dyld: Library not loaded: /usr/local/opt/openldap/lib/libldap-2.4.2.dylib
Referenced from: /usr/local/Cellar/php@7.1/7.1.33/bin/./php
Reason: image not found
[1] 6285 abort ./php -v
PHP versions
php@7.1
To Reproduce
Expected behavior
Additional context
Are you willing to submit a PR?
shivammathur commented
@ningkexin Rebuilding each formula, should take about an hour.
ningkexin commented
Ok, got it @shivammathur
shivammathur commented
@ningkexin
It should work now.
Run brew update
and then you can reinstall PHP 7.1
brew update
brew reinstall shivammathur/php/php@7.1
ningkexin commented
@shivammathur OK,It worked!