libpq test - Mailing list pgsql-sql

From Igor
Subject libpq test
Date
Msg-id 386360D9.C72BAFA4@motor.ru
Whole thread Raw
Responses Re: [SQL] libpq test
List 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 by date:

Previous
From: wieck@debis.com (Jan Wieck)
Date:
Subject: Re: [SQL] SQL features...
Next
From: Tom Lane
Date:
Subject: Re: [SQL] libpq test