FreeBSD Port: pgadmin3-1.14.2_1

Schuendehuette, Matthias matthias.schuendehuette at siemens.com
Mon Jul 16 09:50:09 UTC 2012


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). Because
of that I have set "KRB5_HOME=/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/include/images/slclusters.pngc
../xtra/png2c/png2c ../pgadmin/include/images/extension.png ../pgadmin/include/images/extension.pngc
/libexec/ld-elf.so.1: /usr/lib/libkrb5.so: Undefined symbol "initialize_asn1_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_asn1_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/libkrb5.so' instead
of the needed '/usr/local/lib/libkrb5.so'.

Shouldn't a dependency to 'security/krb5' be appended to the list of pgadmin3'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ündehütte



More information about the freebsd-ports mailing list