Re: Sparc Soloris 8 - Postgresql configure Problem!

From: Oyvind Hallsteinsen <oyvindh(at)aitel(dot)hist(dot)no>
To: Peter Barganski <peter(at)outside-edge(dot)net>
Cc: pgsql-ports(at)postgresql(dot)org
Subject: Re: Sparc Soloris 8 - Postgresql configure Problem!
Date: 2002-01-03 14:09:20
Message-ID: 3C346610.FF035365@aitel.hist.no
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-ports

Peter Barganski wrote:
[cut]
> configure:6797: checking test program
> configure:6806: gcc -o conftest -I/usr/local/ssl/include
>
> -L/usr/local/ssl/lib conftest.c -lssl -lcrypto -lz -lresolv -lgen
> -lnsl
>
> -lsocket -ldl -lm -lreadline -ltermcap 1>&5
> configure: failed program was:
> #line 6802 "configure"
> #include "confdefs.h"
> int main() { return 0; }

A (not so) wild guess would be gcc having trouble finding some of your
libraries. However, to see what's really going wrong I suggest you do
the following:

a) Create a file mytest.c consisting of:
int main() { return 0; }

b) $ gcc -o mytest mytest.c -I/usr/local/ssl/include
-L/usr/local/ssl/lib -lssl -lcrypto -lz -lresolv -lgen -lnsl -lsocket
-ldl -lm -lreadline -ltermcap

c) If that works try
$ ./mytest
$ echo $?

This ought to give you a pointer as to what is going wrong.

---
-- Øyvind Hallsteinsen, HIST AITeL --

In response to

Browse pgsql-ports by date

  From Date Subject
Next Message Mel Roman 2002-01-13 03:57:40 The PGDG RPM packages don't seem to work for Mandrake 8.0
Previous Message don 2001-12-28 18:27:47 NullPointer exception from resultset.beforeFirst upgrade from JDBC 7.0.x to JDBC 7.1.3