pg.ddx.io pgsql-sql@postgresql.org mailing list archive
help / color / mirror / Atom feedlibpq test
2+ messages / 2 participants
[nested] [flat]
* libpq test
@ 1999-12-24 12:02 Igor <i_v_z@motor.ru>
1999-12-24 14:53 ` Re: [SQL] libpq test Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 1 reply; 2+ messages in thread
From: Igor @ 1999-12-24 12:02 UTC (permalink / raw)
To: pgsql-sql@hub.org
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.
^ permalink raw reply [nested|flat] 2+ messages in thread
* Re: [SQL] libpq test
1999-12-24 12:02 libpq test Igor <i_v_z@motor.ru>
@ 1999-12-24 14:53 ` Tom Lane <tgl@sss.pgh.pa.us>
0 siblings, 0 replies; 2+ messages in thread
From: Tom Lane @ 1999-12-24 14:53 UTC (permalink / raw)
To: Igor <i_v_z@motor.ru>; +Cc: pgsql-sql@hub.org
Igor <i_v_z@motor.ru> writes:
> fe-auth.o(.text+0x27): undefined reference to `crypt'
Add "-lcrypt" to your link command. crypt() isn't in libc in Linux,
it's in a separate libcrypt library...
regards, tom lane
^ permalink raw reply [nested|flat] 2+ messages in thread
end of thread, other threads:[~1999-12-24 14:53 UTC | newest]
Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
1999-12-24 12:02 libpq test Igor <i_v_z@motor.ru>
1999-12-24 14:53 ` Tom Lane <tgl@sss.pgh.pa.us>
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox