pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Michael Fuhr <mike@fuhr.org>
To: Roth, Gabrielle <gabrielle.roth@xo.com>
Cc: pgsql-admin@postgresql.org
Subject: Re: solaris install - 8.0.3 config fails on openssl, 7.4 config works
Date: Mon, 17 Oct 2005 15:36:18 -0600
Message-ID: <20051017213618.GA21381@winnie.fuhr.org> (raw)
In-Reply-To: <E2383CA82A645A45B72D523F5A29311A01297BF5@UTSANDMAIL02.mail.inthosts.net>
References: <E2383CA82A645A45B72D523F5A29311A01297BF5@UTSANDMAIL02.mail.inthosts.net>

On Mon, Oct 17, 2005 at 01:45:41PM -0600, Roth, Gabrielle wrote:
> Building a new server here (solaris 9), was going to put 8.0.3 on it.
> 
> ./configure --with-openssl --enable-syslog
> 
> fails with this error message:
> configure: error: header file <openssl/ssl.h> is required for OpenSSL

[snip]

> - I've verified that the path to ssl.h is in my LD_LIBRARY_PATH.

LD_LIBRARY_PATH, aside from being something to avoid using in any
case, has nothing to do with where the preprocessor finds header
files.  Try using --with-includes and --with-libraries; see the
documentation for more information:

http://www.postgresql.org/docs/8.0/interactive/install-procedure.html

Another way is to set the CPPFLAGS and LDFLAGS environment variables.

> - I have openssl-0.97f, which is a later version than the 0.96 specified
> in the FAQ (http://www.postgresql.org/docs/faqs.FAQ_Solaris.html)

I've built PostgreSQL 7.2 through 8.1beta with OpenSSL 0.9.7 and 0.9.8
on Solaris 9 without problems, so the OpenSSL version shouldn't matter.

-- 
Michael Fuhr



view thread (8+ messages)  latest in thread

Message-ID: <20051017213618.GA21381@winnie.fuhr.org>
Permalink:  ../20051017213618.GA21381@winnie.fuhr.org/
Also on:    postgresql.org/message-id/20051017213618.GA21381@winnie.fuhr.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: mike@fuhr.org, gabrielle.roth@xo.com
  Subject: Re: solaris install - 8.0.3 config fails on openssl, 7.4 config works
  In-Reply-To: <20051017213618.GA21381@winnie.fuhr.org>
  References: <E2383CA82A645A45B72D523F5A29311A01297BF5@UTSANDMAIL02.mail.inthosts.net> <20051017213618.GA21381@winnie.fuhr.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox