Re: 7.4Beta2 installation not finding OpenSSL

From: Bruno LEVEQUE <bruno(dot)leveque(at)net6d(dot)com>
To: pgsql-novice(at)postgresql(dot)org
Subject: Re: 7.4Beta2 installation not finding OpenSSL
Date: 2003-10-06 06:29:55
Message-ID: blr253$1ht7$1@news.hub.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-novice

If the script is only searching ssl.h, With don't you do a symbolic link ?

ln -s /usr/include/openssl/ssl.h /usr/local/openssl/ssl.h

Bruno

Tony Reina wrote:

>I'm trying to build 7.4-beta2 on RedHat Linux 9. I have OpenSSL
>installed, but the Postgres configure script seems to be looking in
>the wrong place for it (or RedHat has moved it to an atypical
>directory). I've tried specifying the directory in
>--with-openssl=/usr/include/openssl and
>--includedir=/usr/include/openssl, but the configure script still
>balks at not being able to find ssl.h. That header file is definitely
>in /usr/include/openssl, but for some reason the script trips up on
>it.
>
>Anybody have a suggestion for what I'm doing wrong? I guess I can
>always try manually correcting the configure script to look in the
>/usr/local/openssl directory, but wanted to see where I was erroring.
>
>configure --prefix=/database/local/pgsql --with-openssl=/usr/include
>--with-odbc --with-cassert --includedir=/usr/include/
>
>or
>
>configure --prefix=/database/local/pgsql
>--with-openssl=/usr/include/openssl --with-odbc --with-cassert
>--includedir=/usr/include/openssl
>
>...
>
>building with OpenSSL support
>...
>checking for SSL_library_init in -lssl... yes
>...
>checking openssl/ssl.h usability... no
>checking openssl/ssl.h presence... no
>checking for openssl/ssl.h... no
>configure: error: header file <openssl/ssl.h> is required for OpenSSL
>
>
>Thanks.
>-Tony
>
>

--
Bruno LEVEQUE
System Engineer
SARL NET6D
bruno(dot)leveque(at)net6d(dot)com
http://www.net6d.com

Responses

Browse pgsql-novice by date

  From Date Subject
Next Message Tim Wright 2003-10-06 11:07:54 Getting "connectby" installed
Previous Message Gatts 2003-10-06 04:55:24 dropping users that start with ';'