Re: trying to use libpq in Ubuntu

From: "Daniel Verite" <daniel(at)manitou-mail(dot)org>
To: "Henri De Feraudy" <feraudyh(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: trying to use libpq in Ubuntu
Date: 2010-09-21 15:25:27
Message-ID: 62429b65-438d-45c4-a4b0-e7ea689e9fb5@mm
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Henri De Feraudy wrote:

> linux-g++ {
> LIBS += /usr/lib/libpq.a
> INCLUDEPATH += /usr/include/postgresql
> }

Try:

linux-g++ {
LIBS += -lpq
INCLUDEPATH += /usr/include/postgresql
}

Also make sure that you have the libpq-dev package installed.

Best regards,
--
Daniel
PostgreSQL-powered mail user agent and storage: http://www.manitou-mail.org

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Bryan Murphy 2010-09-21 15:26:04 Re: pgpool-II 3.0 + postgres 9rc1 + md5 authentication not working
Previous Message Tom Lane 2010-09-21 15:15:52 Re: What is the effect of locale on numbers?