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 91371D7B1D for ; Mon, 17 Oct 2005 18:07:54 -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 11989-04 for ; Mon, 17 Oct 2005 21:07:51 +0000 (GMT) Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by svr1.postgresql.org (Postfix) with ESMTP id 88233D7B02 for ; Mon, 17 Oct 2005 18:07:52 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.13.1/8.13.1) with ESMTP id j9HL7s2i012607; Mon, 17 Oct 2005 17:07:54 -0400 (EDT) To: "Roth, Gabrielle" Cc: pgsql-admin@postgresql.org Subject: Re: solaris install - 8.0.3 config fails on openssl, 7.4 config works In-reply-to: References: Comments: In-reply-to "Roth, Gabrielle" message dated "Mon, 17 Oct 2005 13:45:41 -0600" Date: Mon, 17 Oct 2005 17:07:54 -0400 Message-ID: <12606.1129583274@sss.pgh.pa.us> From: Tom Lane 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/195 X-Sequence-Number: 19267 "Roth, Gabrielle" 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 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