问题描述
从postgresql.org/download安装Postgresql之后,然后运行brew install postgresql,我试图通过在zsh终端上键入'psql --version'来确认我已经安装了postgresql。但是,它显示以下错误消息:
psql --version
dyld: Library not loaded: /usr/local/opt/[email protected]/lib/libssl.1.1.dylib
Referenced from: /usr/local/Cellar/postgresql/12.4/lib/libpq.5.12.dylib
Reason: image not found
zsh: abort psql --version
我尝试了许多在网上找到的命令,例如brew doctor,brew更新,brew安装readline,brew链接readline --force和cd / usr / local / opt / readline / lib 在-s libreadline.8.0.dylib libreadline.7.dylib中,不是特别按顺序。
成功安装后,为什么出现错误消息“未加载库”,为什么可以运行哪些命令来解决?
解决方法
暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!
如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。
小编邮箱:dio#foxmail.com (将#修改为@)