Re: solaris install - 8.0.3 config fails on openssl, 7.4 config works - Mailing list pgsql-admin

From Michael Fuhr
Subject Re: solaris install - 8.0.3 config fails on openssl, 7.4 config works
Date
Msg-id 20051017213618.GA21381@winnie.fuhr.org
Whole thread Raw
In response to solaris install - 8.0.3 config fails on openssl, 7.4 config works  ("Roth, Gabrielle" <gabrielle.roth@xo.com>)
List 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

pgsql-admin by date:

Previous
From: mjmayfield@pepco.com
Date:
Subject: Re: solaris install - 8.0.3 config fails on openssl, 7.4 config
Next
From: Michael Fuhr
Date:
Subject: Re: Solving OID wrap-around in 7.4 DB?