Re: [GENERAL] Compiling libpq

From: Oleg Broytmann <phd(at)emerald(dot)netskate(dot)ru>
To: fabian baena <fabbaena(at)hotmail(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: [GENERAL] Compiling libpq
Date: 1999-06-09 06:53:45
Message-ID: Pine.LNX.4.04.9906091052220.7310-100000@emerald.netskate.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi!

On Tue, 8 Jun 1999, fabian baena wrote:
> I need to compile a ╢C╢ program with the libpq library but I don╢t know what
> commands do I have to write in the linux shell to do this.
> Thank you.

This is the least:

cc myprogram.c -o myprog -lpq

My be you'll need to add some libs (-lcrypt, e.g.)...

> Fabian.

Oleg.
----
Oleg Broytmann http://members.xoom.com/phd2/ phd2(at)earthling(dot)net
Programmers don't die, they just GOSUB without RETURN.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Jeroen Schaap 1999-06-09 07:13:05 Howto convert arrays 2 query results
Previous Message mascarim 1999-06-09 06:32:45