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

---------------------------(end of broadcast)---------------------------
TIP 5: don't forget to increase your free space map settings

Reply via email to