From: | sidtbird(at)uswest(dot)net |
---|---|
To: | pgsql-ports(at)postgresql(dot)org |
Subject: | Failed Compile : OpenLinux 2.2 : undefined reference to 'crypt' ??? |
Date: | 2000-01-02 05:00:11 |
Message-ID: | 386EDB58.1B01D5C@pop.omah.uswest.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-ports |
============================================================================
POSTGRESQL BUG REPORT TEMPLATE
============================================================================
Your name : Sid Mitzlaff
Your email address : sidtbird(at)uswest(dot)net
System Configuration
---------------------
Architecture (example: Intel Pentium) : Intel Pentium
166MHz
Operating System (example: Linux 2.0.26 ELF) : Caldera
OpenLinux 2.2
PostgreSQL version (example: PostgreSQL-6.5) :
PostgreSQL-6.5
Compiler used (example: gcc 2.8.0) : gcc version
egcs-2.91.60
Please enter a FULL description of your problem:
------------------------------------------------
When compiling, the following shows up in my compile log
(command location and
error):
---BEGIN make.log SNIPPET---
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 -lreadline -lhistory
-ltermcap -lncurses -export-dynamic
libpq/SUBSYS.o: In function `crypt_verify':
libpq/SUBSYS.o(.text+0x3954): undefined reference to `crypt'
libpq/SUBSYS.o: In function `verify_password':
libpq/SUBSYS.o(.text+0x3b97): undefined reference to `crypt'
make[1]: *** [postgres] Error 1
make[1]: Leaving directory
`/usr/local/src/postgresql-6.5/src/backend'
make: *** [all] Error 2
---END make.log SNIPPET---
Please describe a way to repeat the problem. Please try to
provide a
concise reproducible example, if at all possible:
----------------------------------------------------------------------
I unarchived postgres-6.5.tar.gz in /usr/local/src so I now
have
/usr/local/src/postgresql-6.5 and go to src:
cd /usr/local/src/postgresql-6.5
.configure --prefix=/usr/local/apps/pgsql
make all >& make.log &
If you know how this problem might be fixed, list the
solution below:
---------------------------------------------------------------------
I checked the configuration, I have a /usr/include/crypt.h
Everything from the makefile looks good to me... I looked at
includes
and stuff and can't seem to figure out why/how the reference
could be
undefined... (I sure wish I was an expert coder) ???
From | Date | Subject | |
---|---|---|---|
Next Message | Thomas Lockhart | 2000-01-03 07:26:13 | Re: [PORTS] RPMS on PostgreSQL.org updated. |
Previous Message | Daniel E. Maddux | 2000-01-02 02:08:09 | postgresql-clients Version 6.5.3 RPM for LINUX? |