小编hal*_*ium的帖子

bundle失败 - 找不到PostgreSQL客户端库(libpq)

我想我已经尝试了所有关于这个问题的建议.仍然不适合我.

当我尝试捆绑...

$ bundle
...

Gem::Installer::ExtensionBuildError: ERROR: Failed to build gem native extension.

    /System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/bin/ruby extconf.rb
checking for pg_config... yes
Using config values from /usr/local/bin/pg_config
checking for libpq-fe.h... yes
checking for libpq/libpq-fs.h... yes
checking for pg_config_manual.h... yes
checking for PQconnectdb() in -lpq... no
checking for PQconnectdb() in -llibpq... no
checking for PQconnectdb() in -lms/libpq... no
Can't find the PostgreSQL client library (libpq)
*** extconf.rb failed ***
Could not create Makefile due to some reason, probably lack of necessary
libraries and/or headers. …
Run Code Online (Sandbox Code Playgroud)

ruby postgresql bundle

32
推荐指数
4
解决办法
2万
查看次数

标签 统计

bundle ×1

postgresql ×1

ruby ×1