Received: from SRV.CTLNO.COM (srv.ctlno.com [204.252.218.112]) by hub.org (8.8.8/8.7.5) with ESMTP id RAA15490 for ; Thu, 11 Jun 1998 17:56:43 -0400 (EDT) Received: by srv.ctlno.com with Internet Mail Service (5.0.1457.3) id ; Thu, 11 Jun 1998 16:56:32 -0500 Message-ID: From: Matthew To: interfaces postgres Subject: crypt compile problem Date: Thu, 11 Jun 1998 16:56:30 -0500 X-Priority: 3 MIME-Version: 1.0 X-Mailer: Internet Mail Service (5.0.1457.3) Content-Type: text/plain 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