Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jul 2012 11:24:16 +0200
From:      "Schuendehuette, Matthias" <matthias.schuendehuette@siemens.com>
To:        "fjoe@FreeBSD.org" <fjoe@FreeBSD.org>
Cc:        "ports@FreeBSD.org" <ports@FreeBSD.org>
Subject:   FreeBSD Port: pgadmin3-1.14.2_1
Message-ID:  <D4972431E931AE49AC7705C55C623DC6141432B021@DEMCHP99E94MSX.ww902.siemens.net>

next in thread | raw e-mail | index | archive | help
Hello,

I have some problems concerning kerberos while compiling 'pgadmin3' on my
FreeBSD-8.3-STABLE (as of Jun-19) server:

I have installed the Heimdal-kerberos of the base system (of course) and
additionally the MIT-kerberos from the ports (currently krb5-1.9.2_3). Beca=
use
of that I have set "KRB5_HOME=3D/usr/local" in /etc/make.conf.

But that seems not to be noticed by the port of 'pgadmin3':

gmake[2]: Entering directory `/usr/ports/databases/pgadmin3/work/pgadmin3-1=
.14.2/pgadmin'
../xtra/png2c/png2c ../pgadmin/include/images/slclusters.png ../pgadmin/inc=
lude/images/slclusters.pngc
../xtra/png2c/png2c ../pgadmin/include/images/extension.png ../pgadmin/incl=
ude/images/extension.pngc
/libexec/ld-elf.so.1: /usr/lib/libkrb5.so: Undefined symbol "initialize_asn=
1_error_table_r"
gmake[2]: *** [../pgadmin/include/images/slclusters.pngc] Error 1
gmake[2]: *** Waiting for unfinished jobs....
/libexec/ld-elf.so.1: /usr/lib/libkrb5.so: Undefined symbol "initialize_asn=
1_error_table_r"
gmake[2]: *** [../pgadmin/include/images/extension.pngc] Error 1
gmake[2]: Leaving directory `/usr/ports/databases/pgadmin3/work/pgadmin3-1.=
14.2/pgadmin'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/usr/ports/databases/pgadmin3/work/pgadmin3-1.=
14.2'
gmake: *** [all] Error 2
*** Error code 1

If I temporarily remove '/usr/lib/libkrb5.so' so that the linker is forced =
to access
'/usr/local/lib/libkrb5.so' everything works fine.

At runtime I have the same problem of course. The loader loads '/usr/lib/li=
bkrb5.so' instead
of the needed '/usr/local/lib/libkrb5.so'.

Shouldn't a dependency to 'security/krb5' be appended to the list of pgadmi=
n3's requirements?

Or did I make a silly mistake?

How can I work around these problems without modifying the base system?



with best regards

Matthias Sch=FCndeh=FCtte




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?D4972431E931AE49AC7705C55C623DC6141432B021>