Received: from nsi.edu (amethea.nsi.edu [198.133.185.9]) by hub.org (8.8.8/8.8.8) with ESMTP id QAA22159 for ; Thu, 24 Sep 1998 16:29:33 -0400 (EDT) (envelope-from reina@nsi.edu) Received: from nsi.edu (IDENT:reina@bigred.nsi.edu [204.128.156.214]) by nsi.edu (8.9.1/8.9.1) with ESMTP id NAA04351; Thu, 24 Sep 1998 13:29:23 -0700 (PDT) Sender: reina@nsi.edu Message-ID: <360AAC02.46F2B123@nsi.edu> Date: Thu, 24 Sep 1998 13:30:58 -0700 From: "G. Anthony Reina" Organization: The Neurosciences Institute X-Mailer: Mozilla 4.05 [en] (X11; I; Linux 2.0.34 i686) MIME-Version: 1.0 To: reina@nsi.edu, "pgsql-questions@postgresql.org" Subject: C compiler error when using PostGres Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit 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 // // // ///////////////////////////////////////////////////////