LoginSignup
0
0

More than 5 years have passed since last update.

PHPのパスが通らなくなった際の解決方法(dyld: Library not ~~~~)

Last updated at Posted at 2019-03-09

ターミナルでphp-vでバージョンを確認しようとした時に以下のエラー?が発生した

dyld: Library not loaded: /usr/local/opt/gettext/lib/libintl.8.dylib
Referenced from: /usr/local/opt/php@7.1/bin/php

解決方法(以下、手順)

$ brew install wget
brew uninstall --force gettext
brew install gettext

以上で、php-vをしてみる

PHP 7.1.26 (cli) (built: Feb 26 2019 10:27:57) ( NTS )
Copyright (c) 1997-2018 The PHP Group

無事に回復

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0