[dev] conflics with libpq
Igor Sysoev
is at rambler-co.ru
Sun Sep 16 17:45:45 MSD 2007
On Sun, Sep 16, 2007 at 03:31:51PM +0200, Manlio Perillo wrote:
> I'm writing an extension module that uses the postgresql library.
> I have found that there is a conflict with libpq headers.
>
> If I include <libpq-fe.h> before nginx headers, then nginx will not work.
>
> In the request handler, r->method has wrong values
> (as an example 1189949249, and it randomly increments by 1) and when I
> use the log functions, I get a SIGIO.
>
>
> If I include nginx headers first, all works fine, but I think that it
> may be interesting to understand why this is happening.
If nginx is built on Linux it may be due to
#define _FILE_OFFSET_BITS 64
--
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list