Ruby on rails Posggresql无法加载hstore.so
使用RubyonRuby on rails Posggresql无法加载hstore.so,ruby-on-rails,postgresql,Ruby On Rails,Postgresql,使用Rubyonrails 5.2.2.1和posgresql 11.2在MacOSX 10.14.3上运行测试时,我得到以下错误 --- 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
rails 5.2.2.1
和posgresql 11.2
在MacOSX 10.14.3
上运行测试时,我得到以下错误
--- 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
如何修复此问题?尝试重新安装
PostgreSQL
。见问题
如果您不使用postgist,则无需按照帖子建议重新安装它
brew update; brew reinstall postgresql;