Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-bugs by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group