dyld: Library not loaded: /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib, php-fpm, php5.6 dyld: Library not loaded: /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib, php-fpm, php5.6 php php

dyld: Library not loaded: /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib, php-fpm, php5.6


To solve this problem you need:

  1. Go to https://www.openssl.org/source/old/ and download version you need
  2. Open downloaded archive and then open terminal there
  3. Run $ make clean, $ ./Configure darwin64-x86_64-cc -shared, $ make, $ make install
  4. Put libcrypto.1.0.0.dylib and libssl.1.0.0.dylib to the /usr/local/Cellar/openssl/lib/

And now it works (For me)!


I have a good news. eXolnet published a patch for php@5.6 witch fixes openssl bug. All instructions here


The perfect solution in macOS Catalina with PHP 7.2, this line:

brew uninstall openssl; brew uninstall openssl; brew install https://github.com/tebelorg/Tump/releases/download/v1.0.0/openssl.rb

Fuente:

https://github.com/kelaberetiv/TagUI/issues/86#issue-303370944