Library not loaded: /usr/local/opt/readline/lib/libreadline.6.2.dylib

后端 未结 22 1837
闹比i
闹比i 2020-12-02 06:30

I just installed posgresql with homebrew and when I go on to type the command

psql

I get the following error:

dyld: Library         


        
22条回答
  •  长情又很酷
    2020-12-02 06:39

    It seems to me the problem is about update readline package. postgres tryied to use /usr/local/opt/readline/lib/libreadline.7.dylib in my case. So i just created a symlink to existing version of library /usr/local/opt/readline/lib/libreadline.8.dylib.

    worked for me:

    ln -s /usr/local/opt/readline/lib/libreadline.8.dylib /usr/local/opt/readline/lib/libreadline.7.dylib
    

提交回复
热议问题