Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-ports by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group