Re: 7.4Beta2 installation not finding OpenSSL
Re: 7.4Beta2 installation not finding OpenSSL
От:
Bruno LEVEQUE <bruno.leveque@net6d.com>
Дата:
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 is required for OpenSSL > > >Thanks. >-Tony > > -- Bruno LEVEQUE System Engineer SARL NET6D bruno.leveque@net6d.com http://www.net6d.com
Re: 7.4Beta2 installation not finding OpenSSL
От:
Bruno LEVEQUE <bruno.leveque@net6d.com>
Дата:
Strange. I use a slack9 and ssl.h is in /usr/include/openssl. The only option I put in order to compile postgres (7.3.4 or 7.4beta2) is --with-openssl without any "=/usr/....". Have you tried it ? Bruno Tony Reina wrote: >No, even linking ssl.h to the /usr/local/openssl directory won't work. >Perhaps, the error means that I don't have the correct version or >something (??). I have OpenSSL 0.9.7a installed (RH9 version which is >the latest from RedHat). The only other error I'm getting is a >complaint that Bison isn't version 1.875 or later, but not sure if >that would cause the ssl configure problem. > >-Tony > >checking openssl/ssl.h usability... no >checking openssl/ssl.h presence... no >checking for openssl/ssl.h... no >configure: error: header file is required for OpenSSL > >openssl version >OpenSSL 0.9.7a Feb 19 2003 > > >Bruno LEVEQUE wrote in message news:... > > >>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: >> >> >> -- Bruno LEVEQUE System Engineer SARL NET6D bruno.leveque@net6d.com http://www.net6d.com