macos – brew安装postgresql(升级)错误,无法链接 – 死链接到旧
这是QA风格的帖子,分享我解决问题的途径.我相信有更好的方法 我选择了一个较旧的mac air并希望将其设置为Ruby和Rails培训.在升级过程中,我遇到了安装postgresql的问题: ? ~ brew install postgresql .... ==> Installing postgresql ==> Downloading https://downloads.sf.net/project/machomebrew/Bottles/postgresql-9.3.5.mountain_lion.bottle.tar.gz Already downloaded: /Library/Caches/Homebrew/postgresql-9.3.5.mountain_lion.bottle.tar.gz ==> Pouring postgresql-9.3.5.mountain_lion.bottle.tar.gz ==> Caveats ... To reload postgresql after an upgrade: launchctl unload ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist launchctl load ~/Library/LaunchAgents/homebrew.mxcl.postgresql.plist Error: An unexpected error occurred during the `brew link` step The formula built,but is not symlinked into /usr/local No such file or directory - /usr/local/Cellar/postgresql/9.2.3/include/server Error: No such file or directory - /usr/local/Cellar/postgresql/9.2.3/include/server 我正在安装postgresql 9.3.5,我不在乎9.2.3没有找到! ? ~ brew install postgresql Warning: postgresql-9.3.5 already installed,it's just not linked 但是postgres仍然被打破了. 有什么问题?
我有类似的问题,但有另一个包.原来,有一堆死链接指向旧版本所有其他我的文件系统.以下是我案例中的帮助:
>运行brew链接< appname> (例如brew link postgress); 希望有所帮助 (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |