Brew doctor: dyld: Library not loaded & Error: No available formula for zlib

后端 未结 13 1403
刺人心
刺人心 2020-12-05 09:34

When I brew doctor I get the following errors:

dyld: Library not loaded: /usr/lib/libltdl.7.dylib
  Referenced from: /usr/local/bin/php
  Reason         


        
13条回答
  •  一整个雨季
    2020-12-05 10:19

    The response from kenorb is what worked for me + a little extra for safe measure: brew update freetype didn't have symlinks so: brew link freetype various other solutions I tried:

    brew remove imagemagick
    brew link jpeg libpng
    brew install imagemagick
    brew install libtiff
    brew uninstall libtool
    brew reinstall libtool --universal && brew unlink libtool && brew link libtool
    

    There's a good chance that this wasn't all necessary if I had found

    brew uninstall libtool
    brew reinstall libtool --universal && brew unlink libtool && brew link libtool
    

    first. But I thought I would post my full process in case anyone runs into issues

提交回复
热议问题