在rails 5.2.2.1
上使用ruby,在Mac OsX 10.14.3
上使用posgresql 11.2
,我在运行测试时得到以下错误
--- Caused by: ---
# PG::InternalError:
# ERROR: could not load library "/usr/local/lib/postgresql/hstore.so": dlopen(/usr/local/lib/postgresql/hstore.so, 10): Symbol not found: _lookup_rowtype_tupdesc_domain
# Referenced from: /usr/local/lib/postgresql/hstore.so
# Expected in: /usr/local/Cellar/postgresql/10.3/bin/postgres
# in /usr/local/lib/postgresql/hstore.so
我该如何解决这个问题?
发布于 2019-03-18 07:17:53
尝试重新安装PostgreSQL
。请参阅issue Postgis library not loaded error #46358
brew update; brew reinstall postgresql;
如果您不使用postgist
,则没有必要按照文章建议的那样重新安装它。
https://stackoverflow.com/questions/55211837
复制相似问题