Re: Configure can't find com_err on OpenBSD for --with-krb5

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: Jim Rosenberg <jr(at)amanue(dot)com>, pgsql-general(at)postgresql(dot)org
Subject: Re: Configure can't find com_err on OpenBSD for --with-krb5
Date: 2007-03-25 01:51:07
Message-ID: 200703250151.l2P1p7s07230@momjian.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Tom Lane wrote:
> Jim Rosenberg <jr(at)amanue(dot)com> writes:
> > Here's the problem: when configure tries to compile the code snippet to
> > check for com_err, it needs to do this with -lcrypto added, but it's not
> > using that. What's the "right" way to fix this? I could probably get it to
> > work by brutally hacking configure, but there's got to be a better way.
>
> I think the "right" fix is probably to add -lcrypto to these lines in
> configure.in, which are already accounting for random other possible
> dependencies of libkrb5:
>
> AC_SEARCH_LIBS(com_err, [krb5 'krb5 -ldes -lasn1 -lroken' com_err], [],
> [AC_MSG_ERROR([could not find function 'com_err' required for Kerberos 5])])
> AC_SEARCH_LIBS(krb5_sendauth, [krb5 'krb5 -ldes -lasn1 -lroken'], [],
> [AC_MSG_ERROR([could not find function 'krb5_sendauth' required for Kerberos 5])])
>
> but I'm not sure why no one else would've complained before, if that
> were necessary...

Where are we on this?

--
Bruce Momjian <bruce(at)momjian(dot)us> http://momjian.us
EnterpriseDB http://www.enterprisedb.com

+ If your life is a hard drive, Christ can be your backup. +

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Bruce Momjian 2007-03-25 01:51:32 Re: [GENERAL] Fun with Cursors- how to rewind a cursor
Previous Message Sebastian Boehm 2007-03-24 20:08:29 Re: automatic value conversion