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

后端 未结 22 1813
闹比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条回答
  •  萌比男神i
    2020-12-02 06:44

    I tried all these terminal commands and nothing worked so decided to fix it manually..

    Open finder and hit command+shift+g

    Go to this folder /usr/local/opt/readline/lib/
    

    you should see multiple versions of these files

    libreadline.6.dylib
    libreadline.7.0.dylib
    

    rename any of them to whichever library is not loaded

    this is: /usr/local/opt/readline/lib/libreadline.6.2.dylib
    mine was: /usr/local/opt/readline/lib/libreadline.6.dylib
    

提交回复
热议问题