Unable to make PostgreSQL 6.5.3 on Caldera Linux 2.2: undefined reference to 'crypt' - Mailing list pgsql-ports

From gordt@actionsoftware.com (Gord Tomlin)
Subject Unable to make PostgreSQL 6.5.3 on Caldera Linux 2.2: undefined reference to 'crypt'
Date
Msg-id 000201bf6125$feab8100$041964c6@MZ04
Whole thread Raw
List pgsql-ports
============================================================================
                        POSTGRESQL BUG REPORT TEMPLATE
============================================================================


Your name: Gord Tomlin
Your email address: gordt@actionsoftware.com


System Configuration
---------------------
  Architecture: Intel Pentium 90, 64 Mb

  Operating System: Caldera OpenLinux 2.2

  PostgreSQL version:   PostgreSQL-6.5.3

  Compiler used: gcc version egcs-2.91.66 19990314 (egcs-1.1.2 release)


Please enter a FULL description of your problem:
------------------------------------------------

Make fails with the following:

gcc -o postgres access/SUBSYS.o bootstrap/SUBSYS.o catalog/SUBSYS.o
commands/SUBSYS.o executor/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o
main/SUBSYS.o parser/SUBSYS.o nodes/SUBSYS.o optimizer/SUBSYS.o
port/SUBSYS.o postmaster/SUBSYS.o regex/SUBSYS.o rewrite/SUBSYS.o
storage/SUBSYS.o tcop/SUBSYS.o utils/SUBSYS.o
../utils/version.o -lnsl -ldl -lm  -export-dynamic
libpq/SUBSYS.o: In function `crypt_verify':
libpq/SUBSYS.o(.text+0x3a64): undefined reference to `crypt'
libpq/SUBSYS.o: In function `verify_password':
libpq/SUBSYS.o(.text+0x3ca7): undefined reference to `crypt'
make[1]: *** [postgres] Error 1
make[1]: Leaving directory `/usr/src/pgsql/postgresql-6.5.3/src/backend'
make: *** [all] Error 2




Please describe a way to repeat the problem.   Please try to provide a
concise reproducible example, if at all possible:
----------------------------------------------------------------------
Just try to run the makefile.



If you know how this problem might be fixed, list the solution below:
---------------------------------------------------------------------


pgsql-ports by date:

Previous
From: gordt@actionsoftware.com (Gord Tomlin)
Date:
Subject: Failure compiling PostgreSQL 6.5.3 on Caldera Linux 2.2
Next
From:
Date:
Subject: Save 50-80% on International Calls and Win $500 in Free phone calls