Re: Problem compiling pgadmin3-1.2.0-beta3 on SuSE - Mailing list pgadmin-support

From Andreas Pflug
Subject Re: Problem compiling pgadmin3-1.2.0-beta3 on SuSE
Date
Msg-id 4180BA5F.5070107@pse-consulting.de
Whole thread Raw
In response to Problem compiling pgadmin3-1.2.0-beta3 on SuSE 9.1  (Maximilian Renkin <mxrenkin@gamma.co.at>)
List pgadmin-support
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


pgadmin-support by date:

Previous
From: Walter Haslbeck
Date:
Subject: Re: pgAdmin III v1.2 Beta-3: Problem with "alter
Next
From: Patrick Hatcher
Date:
Subject: Compile PgAdIII on OS X error