Maximilian Renkin wrote:
> When running 'make all' with pgadmin3-1.2.0-beta3, I get the following
> errors on SuSE 9.1 (rather up to date with SuSE Online Update):
> /usr/lib/libpq.a(fe-auth.o)(.text+0x1b0): In function `pg_krb5_init':
> : undefined reference to `krb5_cc_close'
> /usr/lib/libpq.a(fe-auth.o)(.text+0x1ba): In function `pg_krb5_init':
> : undefined reference to `error_message'
> /usr/lib/libpq.a(fe-auth.o)(.text+0x1f1): In function `pg_krb5_init':
> : undefined reference to `krb5_free_principal'
> /usr/lib/libpq.a(fe-auth.o)(.text+0x5ce): In function `.L54':
> =====================================================
>
> I have a /usr/lib/libkrb5.so.17 installed (Standard Heimdahl SuSE RPM)
> which seems to have the necessary symbols.
You obviously need the -lkrb5 link option, SuSE's libpq seems to be
compiled with KRB5 support. Adam, do you have an idea how to support
that? Maybe at configure time we need to check if libpq needs krb4 or
krb5 libs.
Regards,
Andreas