X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (av.hub.org [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 34039D7B1F for ; Mon, 17 Oct 2005 18:36:24 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 18275-05 for ; Mon, 17 Oct 2005 21:36:20 +0000 (GMT) Received: from tigger.fuhr.org (tigger.fuhr.org [63.214.45.158]) by svr1.postgresql.org (Postfix) with ESMTP id DC049D7AB8 for ; Mon, 17 Oct 2005 18:36:21 -0300 (ADT) Received: from winnie.fuhr.org (winnie.fuhr.org [10.1.0.1]) by tigger.fuhr.org (8.13.3/8.13.3) with ESMTP id j9HLaJdF092092 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 17 Oct 2005 15:36:22 -0600 (MDT) (envelope-from mfuhr@winnie.fuhr.org) Received: from winnie.fuhr.org (localhost [127.0.0.1]) by winnie.fuhr.org (8.13.4/8.13.4) with ESMTP id j9HLaJiY021452; Mon, 17 Oct 2005 15:36:19 -0600 (MDT) (envelope-from mfuhr@winnie.fuhr.org) Received: (from mfuhr@localhost) by winnie.fuhr.org (8.13.4/8.13.4/Submit) id j9HLaJgp021451; Mon, 17 Oct 2005 15:36:19 -0600 (MDT) (envelope-from mfuhr) Date: Mon, 17 Oct 2005 15:36:18 -0600 From: Michael Fuhr To: "Roth, Gabrielle" Cc: pgsql-admin@postgresql.org Subject: Re: solaris install - 8.0.3 config fails on openssl, 7.4 config works Message-ID: <20051017213618.GA21381@winnie.fuhr.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.006 required=5 tests=[AWL=0.006] X-Spam-Level: X-Archive-Number: 200510/197 X-Sequence-Number: 19269 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 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