Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

Does anyone know how I can install libpq-dev on Mac OS 10.6? It's a pre-requisite for something else I want to install.

There doesn't seem to be a macport for it, so how can I install it on a Mac?

share|improve this question

2 Answers 2

Consider using Homebrew

brew install postgresql

It'll give you the necessary headers.

share|improve this answer
1  
This did the trick. Thanks for posting! –  iWasRobbed Dec 9 '13 at 22:27

When I've search in ports I've found this:

port search libpq
libpqxx @3.0.2 (databases, devel)
    Official C++ client API for PostgreSQL

libpqxx26 @2.6.9 (databases, devel)
    Official C++ client API for PostgreSQL

You can try one of those.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.