Unable to make PostgreSQL 6.5.3 on Caldera Linux 2.2: undefined reference to 'crypt'

From: gordt(at)actionsoftware(dot)com (Gord Tomlin)
To: <pgsql-ports(at)postgresql(dot)org>
Subject: Unable to make PostgreSQL 6.5.3 on Caldera Linux 2.2: undefined reference to 'crypt'
Date: 2000-01-17 20:04:00
Message-ID: 000201bf6125$feab8100$041964c6@MZ04
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================

Your name: Gord Tomlin
Your email address: gordt(at)actionsoftware(dot)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:
---------------------------------------------------------------------

Browse pgsql-ports by date

  From Date Subject
Next Message sayhello 2000-01-18 04:49:17 Save 50-80% on International Calls and Win $500 in Free phone calls
Previous Message Gord Tomlin 2000-01-17 17:20:05 Failure compiling PostgreSQL 6.5.3 on Caldera Linux 2.2