在安装好nginx之后,运行nginx,报错: nginx dyld: Library not loaded: /usr/local/lib/libpcre.1.dylib Referenced from: /usr/local/bin/nginx Reason: image not found 我们可以通过brew doctor来查看具体的出现的问题. brew doctor 结果得到如下信息: Warning: You have unlinked kegs in your Cellar Le…