我试图开始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"?
Run Code Online (Sandbox Code Playgroud)
当我使用时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
Run Code Online (Sandbox Code Playgroud)
快速搜索libicui18n.63.dylib显示我需要icu4c版本63的lib。但是brew list icu4c说我拥有版本64.2。
我都尝试过brew install icu4c 63,brew install icu4c@63但没有运气。
有人可以帮忙吗?提前致谢。