testlibpq.c compilation

Поиск
Список
Период
Сортировка
От leE
Тема testlibpq.c compilation
Дата
Msg-id vh7f7.14249$LN3.3759609@monolith.news.easynet.net
обсуждение исходный текст
Список pgsql-general
Hi,

 I been having what seems to be a usual error in compiling the
testlibpq.c source from the postgres website.

<SNIP>
/tmp/ccQ79123.o: In function `exit_nicely':
/tmp/ccQ79123.o(.text+0xe): undefined reference to `PQfinish'
/tmp/ccQ79123.o: In function `main':
/tmp/ccQ79123.o(.text+0x6d): undefined reference to `PQsetdbLogin'
/tmp/ccQ79123.o(.text+0x81): undefined reference to `PQstatus'
/tmp/ccQ79123.o(.text+0xb3): undefined reference to `PQerrorMessage'
</SNIP>

etc etc.

 All the responses I've seen to it seem to suggest that it is a
problem with the path to libpq-fe.h.  However I am sure this is not the
problem which I am experiencing.

 Any advice on this would be much appreciated.  If it helps this is
compiled on a FreeBSD4.2 machine, and postgres was compiled with no
special options at all.

Thanks

  Lee

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

Предыдущее
От: michelle@murrain.net (Michelle Murrain)
Дата:
Сообщение: ODBC error
Следующее
От: Sodom
Дата:
Сообщение: connect to postgresql by TCP problem