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.