On Thu, May 16, 2002 at 04:07:38AM +0530, Arindam Haldar wrote:
> hi all,
> am trying to use C & C++ libraries with postgresql 7.2.
> while compiling a sample programe(attached) there were thse errors
> encounterd !..
>
> [arindam@my src]$
> [arindam@my src]$ gcc egTry.c
Try: gcc egTry.c -lpq
(or is it -lpg?)
The compiler needs to know which library contains the symbols you're
missing.
HTH,
--
Martijn van Oosterhout <kleptog@svana.org> http://svana.org/kleptog/
> Canada, Mexico, and Australia form the Axis of Nations That
> Are Actually Quite Nice But Secretly Have Nasty Thoughts About America