kinit gives relocation error when linking to

Douglas E. Engert deengert at
Wed Mar 8 09:55:06 EST 2006

David Telfer wrote:
> Hello,
> I have compiled krb5-1.4.3 on Solaris 9 using gcc 3.4.2 .  Configure and 
> make ran succesfully with no errors.  When I attempt to run kinit to 
> test, I receive the following error;
> kinit: fatal: relocation error: file 
> /usr/lib/gss/gl/ symbol gss_nt_service_name_v2: 

That is not an MIT library, but the Solaris version of Kerberos.
You may be running the Solaris /usr/bin/kinit that does use this library.
or your compile picked up some of the Solaris headers and libs.

> referenced symbol not found
> krb5 was configured with '-enable-client -with-gssapi -without-krb4'. 
> I initially had a couple of problems due to working with a core install 
> of Solaris.  Some libraries were not installed with the core 
> installation (those contained in SUNWgss & SUNWgssc) but the header 
> files were on the system.  This meant that configure passed but running 
> kinit failed due to not being found.  I installed the 
> SUNWgss & SUNWgssc packages which resolved this.
> I'm not too sure as to whether the sun packages would have a bearing on 
> the problems I am facing now.
> Thanks,
> David Telfer
> david at
> ________________________________________________
> Kerberos mailing list           Kerberos at


  Douglas E. Engert  <DEEngert at>
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444

More information about the Kerberos mailing list