dyld: lazy symbol binding failed: Symbol not found: _PQsetErrorContextVisibility
问题 On running $ psql I get this error dyld: lazy symbol binding failed: Symbol not found: _PQsetErrorContextVisibility Referenced from: /usr/local/bin/psql Expected in: /usr/local/lib/libpq.5.dylib dyld: Symbol not found: _PQsetErrorContextVisibility Referenced from: /usr/local/bin/psql Expected in: /usr/local/lib/libpq.5.dylib Abort trap: 6 I have tried a few things: few posts suggested to update brew few suggested adding /usr/local/bin/psql to the ~/.bash_profile and restarting the system few