[dev] conflics with libpq
Manlio Perillo
manlio_perillo at libero.it
Sun Sep 16 21:02:55 MSD 2007
Igor Sysoev ha scritto:
> 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
>
Yes, I'm un Linux Debian Etch.
Thanks and regards Manlio Perillo
More information about the nginx
mailing list