【发布时间】:2019-09-13 12:35:35
【问题描述】:
我试图启动 psql 但得到了
psql: could not connect to server: No such file or directory
Is the server running locally and accepting
connections on Unix domain socket "/tmp/.s.PGSQL.5432"?
当我使用postgres -D /usr/local/var/postgres时,出现以下错误:
dyld: Library not loaded: /usr/local/opt/icu4c/lib/libicui18n.63.dylib
Referenced from: /usr/local/bin/postgres
Reason: image not found
[1] 2559 abort postgres -D /usr/local/var/postgres
对libicui18n.63.dylib 的快速搜索显示我需要版本为63 的icu4c 库。但是brew list icu4c 说我的版本为64.2。
我尝试了brew install icu4c 63 和brew install icu4c@63,但都没有成功。
有人可以帮忙吗?提前致谢。
【问题讨论】:
标签: postgresql homebrew icu4c