apr integration

Поиск
Список
Период
Сортировка
От Bob Rossi
Тема apr integration
Дата
Msg-id 20080519211456.GC19723@brasko.net
обсуждение исходный текст
Ответы Re: apr integration  (Peter Eisentraut <peter_e@gmx.net>)
Список pgsql-bugs
Hi,

Apr allows the use of the wonderful postgresql db. It has an autotools
test that checks to see if it can link against -lpq. However, checking
against just -lpq is not always enough. On linux, sometimes you need
'-lpq -lcrypt'. On windows, sometimes you need '-lpq -lSecur32 -lws_32'.

So, my question is, how does one figure out the required libraries? I
suggested pg_config --libs on the apr mailing list, and someone had this
to say:
  This returns libraries that were used to build PostgreSQL, not the ones
  that are required to link to -lpq. So, I'm just worried that it is
  inaccurate.

Could you please comment on this?

Thanks,
Bob Rossi

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

Предыдущее
От: "Dave Page"
Дата:
Сообщение: Re: Win32: Postgre 8.3.1 does not work with Active perl 5.10
Следующее
От: Peter Eisentraut
Дата:
Сообщение: Re: apr integration