Mac psql/readline - Library not loaded

后端 未结 3 1926
甜味超标
甜味超标 2021-02-12 10:45

I\'m working on a Mac, Sierra 10.12.3, and I\'m trying to access a PostgreSQL database via the psql command, but it threw the error

dyld: Library n         


        
3条回答
  •  暖寄归人
    2021-02-12 10:53

    Readline has been upgraded but you are still using an older psql from postgres. Upgrading postgres to a current version that uses the current readline fixed the problem for me:

    brew upgrade postgres

提交回复
热议问题