Re: undefined reference to 'crypt' - Mailing list pgsql-ports

From sieberg@cadvision.com (Ross Sieber)
Subject Re: undefined reference to 'crypt'
Date
Msg-id 37d11411.1191407@news.cadvision.com
Whole thread Raw
In response to undefined reference to 'crypt'  ("alan yang" <alan_yang@hp.com>)
List pgsql-ports
On 30 Aug 1999 19:37:55 -0400, alan_yang@hp.com ("alan yang") wrote:


>After successfully installed postgresql, I tried to compile the libpq++ test
>program.
>In a RedHat 6.0 system, I ran into the following error:
>/usr/lib/libpq.so.2.0 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.

pgsql-ports by date:

Previous
From: Yu Cao
Date:
Subject: PostgreSQL 6.5.1: libpq++ libraries on IRIX 6.5
Next
From: Tom Lane
Date:
Subject: Re: [HACKERS] PostgreSQL 6.5.1: libpq++ libraries on IRIX 6.5