I was trying to start psql
but got
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"?
When I used postgres -D /usr/local/var/postgres
, got the following error:
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
A quick search on libicui18n.63.dylib
showed me I need icu4c
lib with version 63. However brew list icu4c
says I have the version 64.2.
I tried both brew install icu4c 63
& brew install icu4c@63
but no luck.
Can anyone help, please? Thanks in advance.