Re: postgres in 'C' - can't get started - Mailing list pgsql-bugs

From Tom Lane
Subject Re: postgres in 'C' - can't get started
Date
Msg-id 10747.980312375@sss.pgh.pa.us
Whole thread Raw
In response to postgres in 'C' - can't get started  ("Graeme Stobbart" <graeme@peters.co.uk>)
List 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

pgsql-bugs by date:

Previous
From: "Dmitri E. Gurevich"
Date:
Subject: Strange error in PHP/Postgre on RadHat?
Next
From: Bruce Momjian
Date:
Subject: Re: 7.1 released on 2000-09-01?