configure fails on solaris - Mailing list pgsql-ports

From Edwin New
Subject configure fails on solaris
Date
Msg-id 83CE2DFB3E02EF4EAB09B5125EAD011B01234FA2@lavertonexch.toll.com.au
Whole thread Raw
Responses Re: configure fails on solaris  ("Stergios Zissakis" <szis@intranet.gr>)
List pgsql-ports

I'm trying to run configure on Solaris.  At line 13509, conftest fails.  I hope someone can suggest what the problem is.

I'm not running it as root, but as the user teprpg01 in a group that has write permissions to the directory tree.

Here's an excerpt from config.log with the error at the end (I snipped the middle):

--------------------------------------------------------------
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by PostgreSQL configure 7.4.2, which was
generated by GNU Autoconf 2.53.  Invocation command line was

  $ ./configure --with-java --with-pgport=6100 --prefix=/usr/local/teprpg01

## --------- ##
## Platform. ##
## --------- ##

hostname = webm-qa
uname -m = sun4u
uname -r = 5.9
uname -s = SunOS
uname -v = Generic_117171-01

/usr/bin/uname -p = sparc
/bin/uname -X     = System = SunOS
Node = webm-qa
Release = 5.9
KernelID = Generic_117171-01
Machine = sun4u
BusType = <unknown>
Serial = <unknown>
Users = <unknown>
OEM# = 0
Origin# = 1
NumCPU = 1

[snip]

configure:13492: checking test program
configure:13504: gcc -o conftest -O2 -fno-strict-aliasing     conftest.c -lz -lreadline -ltermcap -lrt -lresolv -lgen -l

socket -lnsl -ldl -lm  >&5
configure:13507: $? = 0
configure:13509: ./conftest
ld.so.1: ./conftest: fatal: libreadline.so.4: open failed: No such file or directory
./configure: line 1: 26938 Killed                  ./conftest$ac_exeext
configure:13512: $? = 137
configure: program exited with status 137
configure: failed program was:
#line 13498 "configure"
#include "confdefs.h"
int main() { return 0; }
configure:13521: result: failed
configure:13526: error:
*** Could not execute a simple test program.  This may be a problem
*** related to locating shared libraries.  Check the file 'config.log'
*** for the exact reason.

pgsql-ports by date:

Previous
From: "Stergios Zissakis"
Date:
Subject: Problems compiling on Solaris 5.7 (7)
Next
From: "Stergios Zissakis"
Date:
Subject: Re: configure fails on solaris