AIX

AIX

Connect with fellow AIX users and experts to gain knowledge, share insights, and solve problems.

 View Only
  • 1.  Installing Kerberos on AIX 6.1

    Posted Mon August 10, 2009 06:59 AM

    Originally posted by: SystemAdmin


    Hi All

    I´m trying to install Kerberos 5 on AIX 6.1 without much success. The configure command appears to work without any problems but when I run make I get the following errors:

    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.
    collect2: ld returned 255 exit status
    make: 1254-004 The error code from the last command is 1.
    Stop.
    make: 1254-004 The error code from the last command is 1.
    Stop.
    make: 1254-004 The error code from the last command is 1.
    Stop.
    make: 1254-004 The error code from the last command is 1.
    Looking at various sources on the internet I´ve seen the gcc compiler sometimes has problems reading .so files. So I am suspecting that this is the problem and not the linker as the error implies because of course the linker can not read files that do not exist and I think the files in the error are probably created with the configure command.

    Would I need to install the AIX compiler for the installation to work or would I need to install a newer version of gcc? I have gcc version 4.2.0 for AIX 6.1 installed.


  • 2.  Re: Installing Kerberos on AIX 6.1

    Posted Mon August 10, 2009 12:01 PM

    Originally posted by: garethr


    Quick thought: Is your path set to pick up the correct versions of make and ld (e.g. GNU make rather than AIX make)?


  • 3.  Re: Installing Kerberos on AIX 6.1

    Posted Tue August 11, 2009 04:19 AM

    Originally posted by: SystemAdmin


    Hi Gareth

    Thanks for the suggestion, it was worth a punt but I got the same error as I did with the AIX make.

    Paul


  • 4.  Re: Installing Kerberos on AIX 6.1

    Posted Thu August 13, 2009 05:52 AM

    Originally posted by: SystemAdmin


    I´ve managed to fix the problem. This wasn´t a compiler issue but an incorrectly set variables in the Makefile in the source directory. The variables are REL and C. Change REL (which is blank) to REL=/source_dir and C to C=./src.

    I now have the following error:

    make: 1254-002 Cannot find a rule to create target /tmp/krb5-1.6.3../../include/autoconf.h from dependencies.
    Stop.
    make: 1254-004 The error code from the last command is 1.
    Stop.
    make: 1254-004 The error code from the last command is 1.

    If anyone knows how to fix this problem I would be very grateful. From my investigations these errors are general errors from the make command which could be from any software.


  • 5.  Re: Installing Kerberos on AIX 6.1

    Posted Thu August 13, 2009 10:57 AM

    Originally posted by: SystemAdmin


    I managed to resolve this error. A variable was incorrect I´ve found a lot of these in the Makefile file. At the moment I´m looking for the libapputils.a file which does not appear to have been installed.