kinit gives relocation error when linking to mech_krb5.so.1

Douglas E. Engert deengert at anl.gov
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;
> 
> ld.so.1: kinit: fatal: relocation error: file 
> /usr/lib/gss/gl/mech_krb5.so.1: 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 libgss.so.1 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 2fluid.co.uk
> ________________________________________________
> Kerberos mailing list           Kerberos at mit.edu
> https://mailman.mit.edu/mailman/listinfo/kerberos
> 
> 

-- 

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



More information about the Kerberos mailing list