libpq test

Поиск
Список
Период
Сортировка
От Igor
Тема libpq test
Дата
Msg-id 386360D9.C72BAFA4@motor.ru
обсуждение исходный текст
Ответы Re: [SQL] libpq test  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-sql
I have some problems with libpq library.

when I test a libpq library

gcc pg_test.c -o pg_test.o /usr/local/pgsql/lib/libpq.a

where pg_test.c is a testlibpq.c - Test the C version of Libpq, the
Postgres frontend
library from manual.
I have an error message 

/usr/local/pgsql/lib/libpq.a(fe-auth.o): In function
`pg_password_sendauth':
fe-auth.o(.text+0x27): undefined reference to `crypt'

I have FreBsd/i386 and Postgresql 6.5.1 version.

help me, please.


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

Предыдущее
От: wieck@debis.com (Jan Wieck)
Дата:
Сообщение: Re: [SQL] SQL features...
Следующее
От: Tom Lane
Дата:
Сообщение: Re: [SQL] libpq test