Re: postgres in 'C' - can't get started

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: "Graeme Stobbart" <graeme(at)peters(dot)co(dot)uk>
Cc: pgsql-bugs(at)postgresql(dot)org
Subject: Re: postgres in 'C' - can't get started
Date: 2001-01-24 04:59:35
Message-ID: 10747.980312375@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-bugs

"Graeme Stobbart" <graeme(at)peters(dot)co(dot)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

In response to

Browse pgsql-bugs by date

  From Date Subject
Next Message Vince Vielhaber 2001-01-24 11:31:13 Re: [DOCS] Re: 7.1 released on 2000-09-01?
Previous Message Bruce Momjian 2001-01-24 04:58:13 Re: 7.1 released on 2000-09-01?