I was installing psqlodbc- and I got the same problem so I Installed PostgreSQL 9.6.2 with brew brew install postgresql You'll get the libpq-dev and libpq libraries. Ruby on rails - Can't find the PostgreSQL client library (libpq) - Stack Overflow. 本記事は,学習を目的に書かれています. 間違い,改良案などございましたら,コメントしていただけると幸い. 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. Check the mkmf.log file for more: details. You may need configuration options. Provided configuration options:-with-opt-dir. Mar 08, 2012  Can't find the PostgreSQL client library (libpq) Showing 1-7 of 7 messages. Can't find the PostgreSQL client library (libpq) Ruby-Forum.com User. Can't find the PostgreSQL client library (libpq). extconf.rb failed. Could not create Makefile due to some reason, probably lack of. Trouble installing pg gem on Windows. GitHub Gist: instantly share code, notes, and snippets.

Hi,

Can T Find The Postgresql Client Library Libpq Mac Pro

Can

I'm writing a small Postgres SQL database client app in Objective C for macOS Sierra. Just to be clear: my app will be the SQL client that will allow you to type in SQL queries and see result sets by sending the queries to a separate Postgres server instance (which may be local or remote and has nothing to do with my app).

My question: if my app is installed on a fresh/clean Mac running macOS Sierra that has no version of Postgres or Xcode installed, where will the Postgres drivers be found? Are they built in to macOS Sierra? Will they be wrapped up inside my app when it is compiled and linked? I need to be able to distribute my app to non-developers who won't have either Xcode or Postgres installed on their Macs.

I'm adding libpq.tbd as a 'Linked Frameworks and Libraries' to my project's General page, that's how I'm 'including' the Postgres drivers in my app's Xcode project.

On my build machine, I have a version of Postgres server installed so that the libpq headers (.h files) are available at Transfer itunes music library from pc to mac. /usr/local/Cellar/postgresql/9.5.4/include and can be seen in Xcode's headers search path. However, those were installed by Homebrew, which isn't guaranteed to be on an end user's machine. By mousing over libpq.tbd in Xcode, I see that it is located at /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.12.sdk/usr/lib/libpq.tbd . But that's inside the Xcode app, so where will it be on a Mac that doesn't have Xcode or Postgres installed but does have my app installed?

I guess I'm not sure what a .tbd file is and if libpq is being treated as a dynamic library or is being compiled in, wholesale and statically, into my app at link time.

Can T Find The Postgresql Client Library Libpq Mac Download

Can t find the postgresql client library libpq mac download

Can't Find The Postgresql Client Library (libpq) Mac

Any ideas?

Apple?

Thanks!

So, I was trying a fresh reinstall of Postgres tonight on my Mac Lion 10.7. I had previously installed the enterpriseDB package, so I uninstalled that first with the default uninstallation manager, then installed the PostgresApp. I edited my PATH so that 'which psql' shows the correct Postgres (/Applications/Postgres.app/Contents/MacOS/bin/psql). I then simply tried to start my rails server but was given some error associated with pg. So I figured I'd just uninstall and reinstall the gem, thinking that something just got out of whack. Well, now every time I try to install pg, I get the eventual error 'Can't find the PostgreSQL client library (libpq)'. I did a bit of research and tried various things like setting ARCHFLAGS when attempting the install..all with no luck. Any ideas here? This seemed to be a somewhat common issue in the past with installs through MacPorts and Homebrew, but I've yet to find anyone who encountered this issue with the PostgresApp. Below is the detailed output of my bundle install. Thanks!

checking for pg_config.. yes
Using config values from /Applications/Postgres.app/Contents/MacOS/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)