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

postgres in 'C' - can't get started

From: "Graeme Stobbart" <graeme(at)peters(dot)co(dot)uk>
To: <pgsql-bugs(at)postgresql(dot)org>
Subject: postgres in 'C' - can't get started
Date: 2001-01-22 16:39:14
Message-ID: 000a01c08491$db122e20$cd01a8c0@bilbo (view raw or flat)
Thread:
Lists: pgsql-bugs
Red Hat 7, Vanilla install postgres from RPM's

Create very simple program to open/close (cut down vsn of example 1)

Compile using libpq.a

Follwing error...

/usr/lib/libpq.a (fe-auth.a): In function `pg_password_sendauth`:
fe-auth.o(.text+0x30): undefined reference to `crypt`

New to postgres, have I missed something?  Reply, however terse, much appreciated.
Thanks
Tom K

Responses

pgsql-bugs by date

Next:From: Bruce MomjianDate: 2001-01-23 03:49:16
Subject: Re: select cash_out('2'); crashes backend on 7.0.2
Previous:From: Edwin MartinDate: 2001-01-22 16:23:36
Subject: 7.1 released on 2000-09-01?

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