我不是自制的專家,但我認爲它已經從readline的6.x版本「升級」我到7.0 9/15/16後的某個時間:在Homebrew中返回readline版本6.x以修復Postgresql?
[email protected]:Homebrew$ brew info readline
readline: stable 7.0 (bottled) [keg-only]
Library for command-line editing
https://tiswww.case.edu/php/chet/readline/rltop.html
/usr/local/Cellar/readline/7.0 (45 files, 2M)
這引起頭痛對我的9.4.5的PostgreSQL家釀版本(我需要舊的9.4可比性的原因):
[email protected]:~$ psql --version
dyld: Library not loaded: /usr/local/opt/readline/lib/libreadline.6.dylib
Referenced from: /usr/local/Cellar/postgresql/9.4.5/bin/psql
Reason: image not found
Trace/BPT trap: 5
可惜我不能找到家釀的readline的6.x版本都恢復到 - 只有7.0似乎是可用的(?)。
我的問題是雙重的:
- 的是readline的版本不匹配我的Postgres/PSQL問題的原因是什麼?
- 如果是這樣,我該如何返回到6.x與自制軟件糾正問題?
預先感謝您!
完全相同的問題在這裏:) – przbadu