[31120] in Kerberos

home help back first fref pref prev next nref lref last post

Kerberos linking on AIX 6.1

daemon@ATHENA.MIT.EDU (Luke Scharf)
Thu May 14 11:24:39 2009

X-Barracuda-Envelope-From: luke.scharf@clusterbee.net
Message-ID: <4A0C377F.5010409@clusterbee.net>
Date: Thu, 14 May 2009 10:23:43 -0500
From: Luke Scharf <luke.scharf@clusterbee.net>
MIME-Version: 1.0
To: kerberos@mit.edu
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: kerberos-bounces@mit.edu

I'm attempting to build Kerberos on AIX 6.1.  This list provided a 
couple of great workarounds for issues that I've encountered, but I was 
hoping to submit one more (like editing 
krb5-1.6.3/src/config/shlib.conf:410 so that "aix6" can be recognized as 
aix -- and also using xlc as the compiler instead of gcc).

I'm running with the following configure command:
./configure --prefix=/usr/local/krb5-1.6.3 --enable-log-preauth-logins 
--enable-login-print-issue --with-multihomed-fixes --enable-app-proxy 
--with-passive-mode-off --without-anonymous-ftp --without-server
And with CC=xlc.

The configure completes nicely, I get through a large portion of the 
"make".  However, Make fails with the following error:

    xlc -L../../../lib -blibpath:/usr/local/krb5-1.6.3/lib::/usr/lib:/lib -g -qhalt=e -O -D_THREAD_SAFE   -o server server.o rpc_test_svc.o \
    	-lgssrpc -lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lkrb5support  -lpthreads 
    ld: 0706-006 Cannot find or open library file: -l gssrpc
    	ld:open(): A file or directory in the path name does not exist.
    ld: 0706-006 Cannot find or open library file: -l gssapi_krb5
    	ld:open(): A file or directory in the path name does not exist.
    ld: 0706-006 Cannot find or open library file: -l krb5
    	ld:open(): A file or directory in the path name does not exist.
    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.
    ld: 0706-006 Cannot find or open library file: -l gssrpc
    	ld:open(): A file or directory in the path name does not exist.
    ld: 0706-006 Cannot find or open library file: -l gssapi_krb5
    	ld:open(): A file or directory in the path name does not exist.
    ld: 0706-006 Cannot find or open library file: -l krb5
    	ld:open(): A file or directory in the path name does not exist.
    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.
    make[3]: *** [client] Error 255
    make[3]: *** Waiting for unfinished jobs....
    make[3]: *** [server] Error 255
    make[3]: Leaving directory `/home/home/ac/lscharf/krb5/krb5-1.6.3/src/lib/rpc/unit-test'
    make[2]: *** [all-recurse] Error 1
    make[2]: Leaving directory `/home/home/ac/lscharf/krb5/krb5-1.6.3/src/lib/rpc'
    make[1]: *** [all-recurse] Error 1
    make[1]: Leaving directory `/home/home/ac/lscharf/krb5/krb5-1.6.3/src/lib'
    make: *** [all-recurse] Error 1

      


I've mucked around with LDFLAGS and -blibpath, attempting to include the 
src/lib/ directory in my build-environment, and I've gone as far as 
hard-coding the path into krb5-1.6.3/src/config/shlib.conf.  But that 
hasn't seemed to had any effect on the linking errors.

Does this ring a bell for anyone?

Thanks,
-Luke

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

home help back first fref pref prev next nref lref last post