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

Re: undefined reference to 'crypt'

From: sieberg(at)cadvision(dot)com (Ross Sieber)
To: pgsql-ports(at)postgresql(dot)org
Subject: Re: undefined reference to 'crypt'
Date: 1999-09-04 12:45:21
Message-ID: (view raw, whole thread or download thread mbox)
Lists: pgsql-ports
On 30 Aug 1999 19:37:55 -0400, alan_yang(at)hp(dot)com ("alan yang") wrote:

>After successfully installed postgresql, I tried to compile the libpq++ test
>In a RedHat 6.0 system, I ran into the following error:
>/usr/lib/ undefined reference to 'crypt'.

You probably need to add -lcrypt to the LIBS line in the Makefile.
crypt is sometimes in libs, and sometimes not.

In response to

pgsql-ports by date

Next:From: Tom LaneDate: 1999-09-04 15:18:06
Subject: Re: [HACKERS] PostgreSQL 6.5.1: libpq++ libraries on IRIX 6.5
Previous:From: Yu CaoDate: 1999-09-04 05:41:49
Subject: PostgreSQL 6.5.1: libpq++ libraries on IRIX 6.5

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