Re: C & C ++Program Problem

Поиск
Список
Период
Сортировка
От Martijn van Oosterhout
Тема Re: C & C ++Program Problem
Дата
Msg-id 20020516110555.C16632@svana.org
обсуждение исходный текст
Ответ на C & C ++Program Problem  (Arindam Haldar <arindamhaldar@hotpop.com>)
Список pgsql-general
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

В списке pgsql-general по дате отправления:

Предыдущее
От: Martijn van Oosterhout
Дата:
Сообщение: Re: Help Please on partial index
Следующее
От: "Dorward Villaruz"
Дата:
Сообщение: Re: some questions