libpq test

From: Igor <i_v_z(at)motor(dot)ru>
To: pgsql-sql(at)hub(dot)org
Subject: libpq test
Date: 1999-12-24 12:02:33
Message-ID: 386360D9.C72BAFA4@motor.ru
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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.

Responses

Browse pgsql-sql by date

  From Date Subject
Next Message Tom Lane 1999-12-24 14:53:19 Re: [SQL] libpq test
Previous Message Jan Wieck 1999-12-24 11:46:25 Re: [SQL] SQL features...