skip to Main Content

I am using a php5.6 on my Mac OS, and php-fpm throws an issue:

dyld: Library not loaded: /usr/local/opt/openssl/lib/libcrypto.1.0.0.dylib
  Referenced from: /usr/local/opt/[email protected]/sbin/php-fpm
  Reason: image not found

Now i have latest OpenSSL version installed. And cannot downgrade it.

4

Answers


  1. Chosen as BEST ANSWER

    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)!


  2. I have a good news. eXolnet published a patch for [email protected] witch fixes openssl bug. All instructions here

    Login or Signup to reply.
  3. 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

    Login or Signup to reply.
  4. For me following worked (macOS Catalina with PHP 7.1)

    brew uninstall --ignore-dependencies openssl
    brew install https://github.com/tebelorg/Tump/releases/download/v1.0.0/openssl.rb
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search