RE: KRB5 1.5 or 1.6 compiled on AIX 5.2/5.3 - Kerberos

This is a discussion on RE: KRB5 1.5 or 1.6 compiled on AIX 5.2/5.3 - Kerberos ; 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 ...

+ Reply to Thread
Results 1 to 2 of 2

Thread: RE: KRB5 1.5 or 1.6 compiled on AIX 5.2/5.3

  1. RE: KRB5 1.5 or 1.6 compiled on AIX 5.2/5.3


    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
    ldpen(): No such file or directory
    ld: 0706-006 Cannot find or open library file: -l com_err
    ldpen(): No such file or directory
    ld: 0706-006 Cannot find or open library file: -l krb5support
    ldpen(): 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@aoctoolbox:/usr/sys/inst.images/MIT-Kerberos/krb5-1.6/5.3/src:>
    whence ld
    /usr/local/bin/ld
    root@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@stanford.edu]
    Sent: Friday, January 26, 2007 1:37 PM
    To: Saxon, Lamar
    Cc: kerberos@mit.edu
    Subject: Re: KRB5 1.5 or 1.6 compiled on AIX 5.2/5.3

    Lamar.Saxon@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
    > ldpen(): A file or directory in the path name does not

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

    exist.
    > ld: 0706-006 Cannot find or open library file: -l krb5support
    > ldpen(): 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@stanford.edu)




    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.

    ________________________________________________
    Kerberos mailing list Kerberos@mit.edu
    https://mailman.mit.edu/mailman/listinfo/kerberos


  2. Re: KRB5 1.5 or 1.6 compiled on AIX 5.2/5.3

    On Jan 26, 2007, at 14:39, wrote:
    > Thanks. The problem also exist using GNU ld on AIX too. See below:


    I'm pretty sure that style of error message is not coming from the
    GNU linker. Your compiler is probably not following $PATH to find
    the linker.

    Ken
    ________________________________________________
    Kerberos mailing list Kerberos@mit.edu
    https://mailman.mit.edu/mailman/listinfo/kerberos


+ Reply to Thread