Re: trying to use libpq in Ubuntu

Поиск
Список
Период
Сортировка
От Daniel Verite
Тема Re: trying to use libpq in Ubuntu
Дата
Msg-id 62429b65-438d-45c4-a4b0-e7ea689e9fb5@mm
обсуждение исходный текст
Ответ на trying to use libpq in Ubuntu  (Henri De Feraudy <feraudyh@yahoo.com>)
Список 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

В списке pgsql-general по дате отправления:

Предыдущее
От: Tom Lane
Дата:
Сообщение: Re: What is the effect of locale on numbers?
Следующее
От: Bryan Murphy
Дата:
Сообщение: Re: pgpool-II 3.0 + postgres 9rc1 + md5 authentication not working