我试图开始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
显示我需要icu4c
63 版的 lib。但是brew list icu4c
说我有 64.2 版。
我都试过了brew install icu4c 63
,brew install icu4c@63
但没有运气。
有人可以帮忙吗?提前致谢。