Re: connecting using libpq breaks printf

From: Joey Morris <rjmorris12(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: Re: connecting using libpq breaks printf
Date: 2009-02-18 16:25:27
Message-ID: 20090218162527.GB23731@conquistador.dnsalias.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Aurimas Černius <aurisc4(at)gmail(dot)com> wrote on Wed, Feb 18, 2009 at 06:08:07PM +0200:
> Libraries should be places after the source file, that is (not sure
> about -L, but for -l surely):
>
> gcc -o pq_test -I"C:\Program Files\PostgreSQL\8.3\include" pq_test.c
> -L"C:\Program Files\PostgreSQL\8.3\lib" -lpq
>
> I don't if that's the problem, but it's not hard to try :)

Thanks for the suggestion, but unfortunately it didn't fix this problem.

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Aurimas Černius 2009-02-18 16:35:38 Re: connecting using libpq breaks printf
Previous Message Joey Morris 2009-02-18 16:10:25 Re: connecting using libpq breaks printf