pg.ddx.io  pgsql-interfaces@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Matthew <matt@ctlno.com>
To: interfaces postgres <pgsql-interfaces@postgreSQL.org>
Subject: crypt compile problem
Date: Thu, 11 Jun 1998 16:56:30 -0500
Message-ID: <A043233669F9D111B99700A0C92376CA1516@srv.ctlno.com> (raw)

Hello, I am new to the world of PostgreSQL.  I recently installed the
PostgreSQL database and tried to compile one of the example C programs
from the web site.  I fixed a few typo's then it compiled, but when it
goes to do the linking I get an error complaining about undefined
reference to crypt.  I have included the exact error message and gcc
version below.  Please help, do you have any suggestions?  I recently
installed PostgreSQL v 6.3.2.  If I can't a C program to compile, it's
going to make using PostgreSQL very hard for this project.

Thanks in advance,

Matt O'Connor


./postgresql-6.3.2/src/interfaces/libpq/libpq.a(fe-auth.o): In function
`pg_password_sendauth':
fe-auth.o(.text+0x17): undefined reference to `crypt'

/pub$gcc -v
Reading specs from /usr/lib/gcc-lib/i386-redhat-linux/2.7.2.3/specs
gcc version 2.7.2.3




Message-ID: <A043233669F9D111B99700A0C92376CA1516@srv.ctlno.com>
Permalink:  ../A043233669F9D111B99700A0C92376CA1516@srv.ctlno.com/
Also on:    postgresql.org/message-id/A043233669F9D111B99700A0C92376CA1516@srv.ctlno.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-interfaces@postgresql.org
  Cc: matt@ctlno.com
  Subject: Re: crypt compile problem
  In-Reply-To: <A043233669F9D111B99700A0C92376CA1516@srv.ctlno.com>
  References: <A043233669F9D111B99700A0C92376CA1516@srv.ctlno.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox