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

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
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:07:54
Message-ID: 12606.1129583274@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

"Roth, Gabrielle" <gabrielle(dot)roth(at)xo(dot)com> writes:
> 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

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

That's irrelevant for header files. If the header's full path isn't
/usr/include/openssl/ssl.h (or possibly /usr/local/include/openssl/ssl.h
if you are using gcc --- most gcc installations are configured to
automatically look in /usr/local too) then you need a --with-includes
configure switch to point the compiler to where it can find the openssl
header directory. Very likely you will also need a --with-libs switch
to point to the libraries; LD_LIBRARY_PATH doesn't excuse you from doing
that either, at least on most platforms.

regards, tom lane

In response to

Browse pgsql-admin by date

  From Date Subject
Next Message mjmayfield 2005-10-17 21:09:51 Re: solaris install - 8.0.3 config fails on openssl, 7.4 config
Previous Message Scott Marlowe 2005-10-17 19:50:01 Re: Solving OID wrap-around in 7.4 DB?