DEV Community

Cover image for Bug Fix Error : dyld[24691]: Library not loaded (Gara-gara Upgrade Brew)
Asep Septiadi
Asep Septiadi

Posted on

1

Bug Fix Error : dyld[24691]: Library not loaded (Gara-gara Upgrade Brew)

Mengatasi error seperti dibawah ini

Image description

Lakukan command dibawah ini

$ brew doctor                                                                                              ‹ruby-2.7.6›
Please note that these warnings are just used to help the Homebrew maintainers
with debugging if you file an issue. If everything you use Homebrew for is
working fine: please don't worry or file an issue; just ignore this. Thanks!

Warning: Some installed formulae are deprecated or disabled.
You should find replacements for the following formulae:
  php@7.0
  php@7.1
  php@7.2
  php@7.3
  php@7.4

Warning: Unbrewed header files were found in /usr/local/include.
If you didn't put them there on purpose they could cause problems when
building Homebrew formulae, and may need to be deleted.

Unexpected header files:
  /usr/local/include/node/cppgc/common.h
  /usr/local/include/node/js_native_api.h
  /usr/local/include/node/js_native_api_types.h
  /usr/local/include/node/libplatform/libplatform-export.h
  /usr/local/include/node/libplatform/libplatform.h
. . . .
Enter fullscreen mode Exit fullscreen mode

Kemudian eksekusi command dibawah ini

Image description

Lalu lakukan brew cleanup

Image description

Install ulang

Image description

Dan install versi PHP berikut

Image description

Lakukan command dibawah ini

Image description

Lalu cek

Image description

Done

Sumber : https://medium.com/macoclock/how-to-install-multiple-php-versions-on-macos-1f290c32cd63

Speedy emails, satisfied customers

Postmark Image

Are delayed transactional emails costing you user satisfaction? Postmark delivers your emails almost instantly, keeping your customers happy and connected.

Sign up

Top comments (0)

A Workflow Copilot. Tailored to You.

Pieces.app image

Our desktop app, with its intelligent copilot, streamlines coding by generating snippets, extracting code from screenshots, and accelerating problem-solving.

Read the docs