postgresql - 库未加载 :/usr/local/opt/readline/lib/libreadline. 6.2.dylib

标签 postgresql psql libreadline

我刚刚用自制软件安装了 posgresql,当我继续输入命令时

psql

我收到以下错误:

dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.6.2.dylib
Referenced from: /usr/local/bin/psql
Reason: image not found
[1]    69711 trace trap  psql

有没有人知道哪里出了问题?

最佳答案

我遇到了完全相同的错误,但上述答案对我不起作用。我不得不重新安装 postgresql。

brew 重新安装 postgresql

关于postgresql - 库未加载 :/usr/local/opt/readline/lib/libreadline. 6.2.dylib,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/21488778/

相关文章:

python - 无法连接到我的 AWS 数据库实例 | psql : could not connect to server: Operation timed out

postgresql - 动态 SQL 中的参数串联

sql - 查找指向我的数据库 postgresql 的用户

postgresql - 在 docker-entrypoint-initdb.d 中创建 pg_cron 扩展失败

rvm - 在ubuntu上使用rvm安装ruby 1.9.3

c++ - 静态链接,在 Windows 下正确工作的 readline 库?

sql - 在 PostgreSQL 查询中如何从连接中的字段过滤结果

javascript - 无法让 JavaScript 连接到 Postgresql

sql - PSQL 按顺序选择 a 或 b,但如果 a 和 b 都存在,则不选择 a 和 b

c - 如何在编辑行中追加历史记录?