Skip site navigation (1) Skip section navigation (2)

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 (view raw or flat)
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

pgsql-admin by date

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

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group