Re: postgres in 'C' - can't get started
Tom Lane <tgl@sss.pgh.pa.us>
From: Tom Lane <tgl@sss.pgh.pa.us>
To: "Graeme Stobbart" <graeme@peters.co.uk>
Cc: pgsql-bugs@postgresql.org
Date: 2001-01-24T04:59:35Z
Lists: pgsql-bugs
"Graeme Stobbart" <graeme@peters.co.uk> writes: > /usr/lib/libpq.a (fe-auth.a): In function `pg_password_sendauth`: > fe-auth.o(.text+0x30): undefined reference to `crypt` On some platforms you need to specify -lcrypt explicitly when linking. (Sometimes crypt() is in the standard library, sometimes not.) regards, tom lane