Re: solaris install - 8.0.3 config fails on openssl, 7.4 config works

From: Michael Fuhr <mike(at)fuhr(dot)org>
To: "Roth, Gabrielle" <gabrielle(dot)roth(at)xo(dot)com>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: solaris install - 8.0.3 config fails on openssl, 7.4 config works
Date: 2005-10-17 21:36:18
Message-ID: 20051017213618.GA21381@winnie.fuhr.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

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

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message Michael Fuhr 2005-10-17 21:39:16 Re: Solving OID wrap-around in 7.4 DB?
Previous Message mjmayfield 2005-10-17 21:09:51 Re: solaris install - 8.0.3 config fails on openssl, 7.4 config