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

crypt compile problem

From: Matthew <matt(at)ctlno(dot)com>
To: interfaces postgres <pgsql-interfaces(at)postgreSQL(dot)org>
Subject: crypt compile problem
Date: 1998-06-11 21:56:30
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-interfaces
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
fe-auth.o(.text+0x17): undefined reference to `crypt'

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

pgsql-interfaces by date

Next:From: HannuDate: 1998-06-12 07:45:38
Subject: Re: [INTERFACES] Re: M$-Access'97 and TIMESTAMPs
Previous:From: Byron NikolaidisDate: 1998-06-11 21:36:03
Subject: Re: [INTERFACES] Re: M$-Access'97 and TIMESTAMPs

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