Compiling libpq

Started by fabian baenaalmost 27 years ago2 messagesgeneral
Jump to latest
#1fabian baena
fabbaena@hotmail.com

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.

Fabian.

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

#2Oleg Broytmann
phd@emerald.netskate.ru
In reply to: fabian baena (#1)
Re: [GENERAL] Compiling libpq

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@earthling.net
Programmers don't die, they just GOSUB without RETURN.