pg.ddx.io  pgsql-sql@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: G. Anthony Reina <reina@nsi.edu>
To: reina@nsi.edu, "pgsql-questions@postgresql.org" <pgsql-sql@postgreSQL.org>
Subject: C compiler error when using PostGres
Date: Thu, 24 Sep 1998 13:30:58 -0700
Message-ID: <360AAC02.46F2B123@nsi.edu> (raw)

I recently upgraded the hardrive on our database system and copied all
of the Postgres files from the old harddrive to the new one.

Everything seems to work find except when I try to compile a C program
that uses SQL backend commands. The program did compile on the old
harddrive and ran fine. Now, during compilation I get the following
error:

/database/local/pgsql/lib/libpq.a(fe-auth.o): In function
`pg_password_sendauth':
fe-auth.o(.text+0x17): undefined reference to `crypt'

Anyone know how to fix this?

Thanks.
-Tony 

-- 

                        ( @@ )
 ////////////////////oOO*(__)*OOo///////////////////////
//                                                    //
// G. Anthony Reina, MD                               //
// The Neurosciences Institute                        //
// 10640 John Jay Hopkins Drive                       //
// San Diego, CA   92121  USA                         //
//                                                    //
// Voice: (619) 626-2000     FAX: (619) 626-2199      //
// E-mail: reina@nsi.edu                              //
//                                                    //
///////////////////////////////////////////////////////



view thread (4+ messages)  latest in thread

Message-ID: <360AAC02.46F2B123@nsi.edu>
Permalink:  ../360AAC02.46F2B123@nsi.edu/
Also on:    postgresql.org/message-id/360AAC02.46F2B123@nsi.edu

 · 

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-sql@postgresql.org
  Cc: reina@nsi.edu
  Subject: Re: C compiler error when using PostGres
  In-Reply-To: <360AAC02.46F2B123@nsi.edu>
  References: <360AAC02.46F2B123@nsi.edu>

* 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