美文网首页
dyld: Library not loaded: /usr/l

dyld: Library not loaded: /usr/l

作者: 汗青fullstack | 来源:发表于2019-11-29 15:15 被阅读0次

环境:macOS

$ sudo /usr/local/opt/php56/sbin/php-fpm

执行后报错提示:

dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.7.dylib
  Referenced from: /usr/local/opt/php56/sbin/php-fpm
  Reason: image not found

原因是homebrew更新后更新libhistory库,有其他软件没有更新
处理方法:

cd /usr/local/opt/readline/lib/;
ln -s libreadline.dylib libreadline.7.dylib

相关文章

网友评论

      本文标题:dyld: Library not loaded: /usr/l

      本文链接:https://www.haomeiwen.com/subject/qflgwctx.html