configure: error: header file is required for OpenSSL - Mailing list pgsql-general

From Peter Peltonen
Subject configure: error: header file is required for OpenSSL
Date
Msg-id 1019460209.20903.28.camel@aruba
Whole thread Raw
Responses Re: configure: error: header file is required for OpenSSL
List pgsql-general
I'm trying to compile 7.2.1 on Red Hat 7.2:

[root@cayman postgresql-7.2.1]# ./configure --enable-locale
--enable-multibyte=LATIN1 --with-tcl --enable-odbc
--with-openssl=/usr/share/ssl --with-java
<snip>
checking for openssl/ssl.h... yes
checking for openssl/err.h... no
configure: error: header file <openssl/err.h> is required for OpenSSL

But this makes no sense:

[root@cayman openssl]# rpm -qf /usr/include/openssl/ssl.h
openssl-devel-0.9.6b-8
[root@cayman openssl]# rpm -qf /usr/include/openssl/err.h
openssl-devel-0.9.6b-8

And:

[root@cayman openssl]# rpm -qa |grep openssl
openssl095a-0.9.5a-11
openssl-devel-0.9.6b-8
openssl-perl-0.9.6b-8
openssl-0.9.6b-8

What am I doing wrong?

--
Peter Peltonen
System Administrator
Fivetec Solutions Oy

Melkonkatu 28 E
00210 Helsinki
GSM. +358-40 720 6535
Tel. +358-9-6824 7666
Fax. +358-9-6824 7664
http://www.fivetec.com
mailto:peter.peltonen@fivetec.com
--



pgsql-general by date:

Previous
From: Oliver Elphick
Date:
Subject: Re: Archive of postgresql needed.
Next
From: Peter Peltonen
Date:
Subject: Re: configure: error: header file is