Kerberos linking on AIX 6.1

Luke Scharf luke.scharf at clusterbee.net
Thu May 14 11:23:43 EDT 2009


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




More information about the Kerberos mailing list