Question

My PostgresApp was running perfectly ok but today I am trying to use from console it is giving me following error.

dyld: Library not loaded: @executable_path/../lib/libedit.3.dylib
  Referenced from: /Applications/Postgres.app/Contents/MacOS/bin/psql
  Reason: image not found
  Trace/BPT trap: 5

I am using Mac OS X 10.7 and rails 4.0 Ruby 2.0.0.

Was it helpful?

Solution

Try it using sudo:

sudo psql -h localhost -U postgres
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top