Re: libpq compile error

Поиск
Список
Период
Сортировка
От zilch@home.se
Тема Re: libpq compile error
Дата
Msg-id 20010608151322.A27174@loony
обсуждение исходный текст
Ответ на libpq compile error  (Olivier Cherrier <Olivier.Cherrier@cediti.be>)
Список pgsql-general
> bash-2.04$ gcc -v -I/usr/local/include/postgresql/ -o testlibpq testlibpq.c

Now tell yourself where do you tell the compiler where all the postgresql
code is! The compiler itself wont give you the code for all your postgresql
specific function calls.

try add "-lpq" to the end of the line.

gcc -o testlibpq testlibpq.c -lpq

Daniel Akerud

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

Предыдущее
От: Olivier Cherrier
Дата:
Сообщение: Rappel : libpq compile error
Следующее
От: Julien Jehannet
Дата:
Сообщение: Re: Re: why unsigned numbers don't exist ?