Re: Compiling v7.1.3 w/OpenSSL and Krb5 support... - Mailing list pgsql-general

From teg@redhat.com (Trond Eivind Glomsrød)
Subject Re: Compiling v7.1.3 w/OpenSSL and Krb5 support...
Date
Msg-id xuyzo5nafj6.fsf@halden.devel.redhat.com
Whole thread Raw
In response to Compiling v7.1.3 w/OpenSSL and Krb5 support...  (Peter Losher <Peter_Losher@isc.org>)
Responses Re: Compiling v7.1.3 w/OpenSSL and Krb5 support...
List pgsql-general
Peter Losher <Peter_Losher@isc.org> writes:

> Hello,
>
> I am trying to compile PostgreSQL v7.1.3 w/ OpenSSL and Krb5 support on a
> True64 (v5.0) AlphaServer.  When configuring w/
>
> './configure --with-openssl'
>
> worked fine, configuring w/
>
> './configure --with-openssl --with-krb5=/usr/local/krb5'
>
> Caused this:
>
> -=-
> [...]
> checking for com_err in -lcom_err... yes
> checking for krb5_encrypt in -lcrypto... no
> checking for krb5_encrypt in -lk5crypto... yes
> checking for krb5_sendauth in -lkrb5... yes
> checking for CRYPTO_new_ex_data in -lcrypto... no
> configure: error: library 'crypto' is required for OpenSSL
> -=-
>
> Now if I just configure with OpenSSL, that check for CRYPTO_new_ex_data
> is successful.  Is there a known bug in trying to compile with both
> OpenSSL and Krb5?

If your kerberos package has a libcrypto - yes. With this problem
solved, it works fine - it's compiled that way for Red Hat Linux
(where krb5's crypto library is called "libk5crypto")

--
Trond Eivind Glomsrød
Red Hat, Inc.

pgsql-general by date:

Previous
From: Bruce Momjian
Date:
Subject: [PHP] Re: SQL Load Balancer for PostgreSQL
Next
From: Philip Hallstrom
Date:
Subject: [PHP] Re: psql with PHP question