KRB5 1.5 or 1.6 compiled on AIX 5.2/5.3

Phil Pishioneri pgp at psu.edu
Wed Feb 7 19:35:02 EST 2007


I've gotten 1.5.x and 1.6 to build and run on AIX 5.2 (domain referral 
in 1.6 works nicely). So far I have only tested the client commands: 
klist, kvno, kinit, kdestroy.  No 3rd party software tested yet, either.

This was done with the IBM VisualAge C++ Professional / C for AIX 
Compiler, Version 6.

The one major change: add LDFLAGS="-brtl" to configure.  My configure 
line was (prefix edited):

    ./configure --without-krb4 --prefix=...  CC=cc LDFLAGS=-brtl

There was one problem during the 1.{5,6} builds (1.5 has a bug that's 
been documented already), it failed in

    making all in plugins/kdb/db2/libdb2/test...

with

    ld: 0706-006 Cannot find or open library file: -l db
            ld:open(): A file or directory in the path name does not exist.

my quick&dirty fix for that was (starting in .../krb5-1.6/src/):

    cd lib
    ln -s ../plugins/kdb/db2/libdb2/libdb.so.1.1 libdb.so.1.1
    ln -s libdb.so.1.1 libdb.so

-Phil



More information about the Kerberos mailing list