[2125] in Kerberos-V5-bugs

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

Re: krb5b6 with --with-krb4= login will not compile.

daemon@ATHENA.MIT.EDU (Sam Hartman)
Thu Aug 1 13:56:04 1996

To: "Randall S. Winchester" <rsw@Glue.umd.edu>
Cc: krb5-bugs@MIT.EDU
From: Sam Hartman <hartmans@MIT.EDU>
Date: 01 Aug 1996 13:55:45 -0400
In-Reply-To: "Randall S. Winchester"'s message of Wed, 31 Jul 1996 21:39:35 -0400 (EDT)

>>>>> ""Randall" == "Randall S Winchester" <rsw@Glue.umd.edu> writes:

    "Randall> On Solaris 2.5 with the following configure line:
    "Randall> ../src/configure --with-ccopts=-g
    "Randall> --with-krb4=/usr/local/athena \ --with-krb5-root=/etc
    "Randall> --prefix=/usr/local/krb5 --with-kdb-db=db \
    "Randall> --with-kdb-dbopts="-I/usr/local/db/include
    "Randall> -L/usr/local/db/lib"

	I would be very careful of using db for your Kerberos
database.  

    "Randall> Make goes well till this:

    "Randall> cc -L./../../lib -L./../../lib -L/usr/local/athena/lib
    "Randall> -o login.krb5 login.o setenv.o ../../krb524/libkrb524.a
    "Randall> -lpty -lkrb5util -lkrb -ldes425 -lkrb5 -lcrypto
    "Randall> -lcom_err -lcrypt -lnsl -lsocket Undefined first
    "Randall> referenced symbol in file krb_get_err_text login.o
    "Randall> krb_save_credentials login.o krb__get_srvtabname login.o
    "Randall> ld: fatal: Symbol referencing errors. No output written
    "Randall> to login.krb5 gmake[2]: *** [login.krb5] Error 1
    "Randall> gmake[1]: *** [all-unix] Error 1 gmake: *** [all-unix]
    "Randall> Error 1

	The next release of Kerberos should handle this much better.
There may be some problems with installed versions of kadm.h on
systems with old releases of MIT Kerberos, but this a KerberosIV bug
and not something we can fix.  


    "Randall> A little looking around and I see libkrb4.a is not being
    "Randall> built. Is there a work around/patch to one of the
    "Randall> configure/configure.in/Makefile.in files?

	You are probably misunderstanding the purpose of an argument
to --with-krb4 option.  It tells krb5 to use an installed version of
libkrb.a instead of building the one in the source tree.  What were
you expecting this option to do?

    "Randall> Thanks, Randall




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