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

David Telfer david at 2fluid.co.uk
Wed Mar 8 09:07:10 EST 2006


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: 
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



More information about the Kerberos mailing list