shivammathur/homebrew-php

dyld: Library not loaded: /usr/local/opt/openldap/lib/libldap-2.4.2.dylib

ningkexin opened this issue · 4 comments

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

Screenshots/Logs
image

Additional context

Are you willing to submit a PR?

@ningkexin Rebuilding each formula, should take about an hour.

Ok, got it @shivammathur

@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

@shivammathur OK,It worked!