Library not loaded error after brew install php56

后端 未结 7 1351
滥情空心
滥情空心 2021-01-12 06:07

I\'m upgrading from php5.5 to php5.6 on OSX Mavericks using homebrew. I run

brew install php56

Everything runs and completes fine but when

相关标签:
7条回答
  • 2021-01-12 06:45

    previous solution was not working:

    $ php -i
    dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.55.dylib
      Referenced from: /usr/local/bin/php
      Reason: image not found
    Trace/BPT trap: 5
    

    solved with:

    $ brew update && brew upgrade icu4c
    

    see https://github.com/Homebrew/homebrew-php/issues/1701

    0 讨论(0)
提交回复
热议问题