close

[Solved] Homebrew upgrade drops PHP: dyld: Library not loaded: /usr/local/opt/libpsl/lib/libpsl.5.dylib

Hello Guys, How are you all? Hope You all Are Fine. Today I get the following error Homebrew upgrade drops PHP: dyld: Library not loaded: /usr/local/opt/libpsl/lib/libpsl.5.dylib in php. So Here I am Explain to you all the possible solutions here.

Without wasting your time, Let’s start This Article to Solve This Error.

How Homebrew upgrade drops PHP: dyld: Library not loaded: /usr/local/opt/libpsl/lib/libpsl.5.dylib Error Occurs?

Today I get the following error Homebrew upgrade drops PHP: dyld: Library not loaded: /usr/local/opt/libpsl/lib/libpsl.5.dylib in php.

How To Solve Homebrew upgrade drops PHP: dyld: Library not loaded: /usr/local/opt/libpsl/lib/libpsl.5.dylib Error ?

  1. How To Solve Homebrew upgrade drops PHP: dyld: Library not loaded: /usr/local/opt/libpsl/lib/libpsl.5.dylib Error ?

    To Solve Homebrew upgrade drops PHP: dyld: Library not loaded: /usr/local/opt/libpsl/lib/libpsl.5.dylib Error It's a bug after php was migrated to OpenSSH 1.1. There's no need to install libpsl.

  2. Homebrew upgrade drops PHP: dyld: Library not loaded: /usr/local/opt/libpsl/lib/libpsl.5.dylib

    To Solve Homebrew upgrade drops PHP: dyld: Library not loaded: /usr/local/opt/libpsl/lib/libpsl.5.dylib Error It's a bug after php was migrated to OpenSSH 1.1. There's no need to install libpsl.

Solution 1

Okay, I’ve solved this by installing this library brew install libpsl

then reinstall php brew reinstall [email protected] --build-from-source

also the same for [email protected]

Be aware that reinstalling php will reset all php configurations

Solution 2

It’s a bug after php was migrated to OpenSSH 1.1. There’s no need to install libpsl.

The problem has been fixed by pr-44048. You should uninstall libpsl and reinstall php.

brew uninstall libpsl
brew reinstall php

Summery

It’s all About this issue. Hope all solution helped you a lot. Comment below Your thoughts and your queries. Also, Comment below which solution worked for you? Thank You.

Also, Read

Leave a Comment