Skip to content

Commit 66bbc2f

Browse files
committed
Add -lcrypto as one of the possible link dependencies of libkrb5.
Per report from Jim Rosenberg. This possibly should get back-patched, but I'm a bit suspicious of it still because of the lack of prior reports.
1 parent 287ed68 commit 66bbc2f

File tree

2 files changed

+5
-5
lines changed

2 files changed

+5
-5
lines changed

configure

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6675,7 +6675,7 @@ fi
66756675
rm -f conftest.err conftest.$ac_objext \
66766676
conftest$ac_exeext conftest.$ac_ext
66776677
if test "$ac_cv_search_com_err" = no; then
6678-
for ac_lib in krb5 'krb5 -ldes -lasn1 -lroken' com_err; do
6678+
for ac_lib in krb5 'krb5 -lcrypto -ldes -lasn1 -lroken' com_err; do
66796679
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
66806680
cat >conftest.$ac_ext <<_ACEOF
66816681
/* confdefs.h. */
@@ -6805,7 +6805,7 @@ fi
68056805
rm -f conftest.err conftest.$ac_objext \
68066806
conftest$ac_exeext conftest.$ac_ext
68076807
if test "$ac_cv_search_krb5_sendauth" = no; then
6808-
for ac_lib in krb5 'krb5 -ldes -lasn1 -lroken'; do
6808+
for ac_lib in krb5 'krb5 -lcrypto -ldes -lasn1 -lroken'; do
68096809
LIBS="-l$ac_lib $ac_func_search_save_LIBS"
68106810
cat >conftest.$ac_ext <<_ACEOF
68116811
/* confdefs.h. */

configure.in

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
dnl Process this file with autoconf to produce a configure script.
2-
dnl $PostgreSQL: pgsql/configure.in,v 1.503 2007/03/21 14:39:23 mha Exp $
2+
dnl $PostgreSQL: pgsql/configure.in,v 1.504 2007/03/26 02:37:16 tgl Exp $
33
dnl
44
dnl Developers, please strive to achieve this order:
55
dnl
@@ -732,9 +732,9 @@ fi
732732

733733
if test "$with_krb5" = yes ; then
734734
if test "$PORTNAME" != "win32"; then
735-
AC_SEARCH_LIBS(com_err, [krb5 'krb5 -ldes -lasn1 -lroken' com_err], [],
735+
AC_SEARCH_LIBS(com_err, [krb5 'krb5 -lcrypto -ldes -lasn1 -lroken' com_err], [],
736736
[AC_MSG_ERROR([could not find function 'com_err' required for Kerberos 5])])
737-
AC_SEARCH_LIBS(krb5_sendauth, [krb5 'krb5 -ldes -lasn1 -lroken'], [],
737+
AC_SEARCH_LIBS(krb5_sendauth, [krb5 'krb5 -lcrypto -ldes -lasn1 -lroken'], [],
738738
[AC_MSG_ERROR([could not find function 'krb5_sendauth' required for Kerberos 5])])
739739
else
740740
AC_SEARCH_LIBS(com_err, 'comerr32 -lkrb5_32', [],

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy