KRB5 1.5 or 1.6 compiled on AIX 5.2/5.3

Russ Allbery rra at stanford.edu
Fri Jan 26 14:36:53 EST 2007


Lamar.Saxon at americredit.com writes:

> Exact same errors specifying --without-tcl.  I removed the config.cache,
> config.log, and etc the reran configure.  From my configure line -

> ./configure --prefix=/usr/local/kerberos --enable-dns-for-realm
> --without-tcl --with-vague-errors

> Then after make...

> making all in lib/rpc/unit-test...
> Target "all" is up to date.
>         cc   -I../../../include -I./../../../include -I.
> -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE=1   -g -qhalt=e -O
> _THREAD_SAFE   -c client.c
>         cc   -I../../../include -I./../../../include -I.
> -DKRB5_DEPRECATED=1 -DKRB5_PRIVATE=1   -g -qhalt=e -O
> _THREAD_SAFE   -c rpc_test_clnt.c
>         cc -L../../../lib
> -blibpath:/usr/local/kerberos/lib::/usr/lib:/lib -g -qhalt=e -O
> -D_THREAD_SAFE   -o c
> nt client.o rpc_test_clnt.o  -lgssrpc -lgssapi_krb5 -lkrb5 -lk5crypto
> -lcom_err -lkrb5support  -lpthreads
> ld: 0706-006 Cannot find or open library file: -l k5crypto
>         ld:open(): A file or directory in the path name does not exist.
> ld: 0706-006 Cannot find or open library file: -l com_err
>         ld:open(): A file or directory in the path name does not exist.
> ld: 0706-006 Cannot find or open library file: -l krb5support
>         ld:open(): A file or directory in the path name does not exist.

Hm, looks like I'm wrong and that directory is built as part of a normal
build for me.  I didn't remember that happening, but it must just be that
the checks don't run except with make check.

I think there's something wrong with the linker flags that are being
passed in to cc for AIX that, due to AIX's bizarre linking, mean that it's
unable to find the libraries in the regular source tree.

I have no idea how to fix that, though.  AIX is very strange.

-- 
Russ Allbery (rra at stanford.edu)             <http://www.eyrie.org/~eagle/>



More information about the Kerberos mailing list