KRB5 1.5 or 1.6 compiled on AIX 5.2/5.3

Lamar.Saxon@americredit.com Lamar.Saxon at americredit.com
Fri Jan 26 14:39:54 EST 2007


Thanks.  The problem also exist using GNU ld on AIX too.  See below:

make[2]: Entering directory
`/usr/sys/inst.images/MIT-Kerberos/krb5-1.6/5.3/src/lib/rpc'
making all in lib/rpc/unit-test...
make[3]: Entering directory
`/usr/sys/inst.images/MIT-Kerberos/krb5-1.6/5.3/src/lib/rpc/unit-test'
cc -L../../../lib -blibpath:/usr/local/kerberos/lib::/usr/lib:/lib -g
-qhalt=e -O -D_THREAD_SAFE   -o client 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(): No such file or directory
ld: 0706-006 Cannot find or open library file: -l com_err
        ld:open(): No such file or directory
ld: 0706-006 Cannot find or open library file: -l krb5support
        ld:open(): No such file or directory
make[3]: *** [client] Error 255
make[3]: Leaving directory
`/usr/sys/inst.images/MIT-Kerberos/krb5-1.6/5.3/src/lib/rpc/unit-test'
make[2]: *** [all-recurse] Error 1
make[2]: Leaving directory
`/usr/sys/inst.images/MIT-Kerberos/krb5-1.6/5.3/src/lib/rpc'
make[1]: *** [all-recurse] Error 1
make[1]: Leaving directory
`/usr/sys/inst.images/MIT-Kerberos/krb5-1.6/5.3/src/lib'
make: *** [all-recurse] Error 1

root at aoctoolbox:/usr/sys/inst.images/MIT-Kerberos/krb5-1.6/5.3/src:>
whence ld
/usr/local/bin/ld
root at aoctoolbox:/usr/sys/inst.images/MIT-Kerberos/krb5-1.6/5.3/src:> ld
-v
GNU ld version 2.16

Lamar

-----Original Message-----
From: Russ Allbery [mailto:rra at stanford.edu]
Sent: Friday, January 26, 2007 1:37 PM
To: Saxon, Lamar
Cc: kerberos at mit.edu
Subject: Re: KRB5 1.5 or 1.6 compiled on AIX 5.2/5.3

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/>



Privileged and Confidential.  This e-mail, and any attachments there to, is intended only for use by the addressee(s) named herein and may contain privileged or confidential information.  If you have received this e-mail in error, please notify me immediately by a return e-mail and delete this e-mail.  You are hereby notified that any dissemination, distribution or copying of this e-mail and/or any attachments thereto, is strictly prohibited.




More information about the Kerberos mailing list