version krb5support_0_MIT not defined

Jeff Blaine jblaine at kickflop.net
Wed Feb 1 17:58:11 EST 2012


I'm having a bit of a linking dilemma while trying to build
and use Russ Alberry's pam_krb5 module against our own MIT
Kerberos build.

The module reports (at load time via PAM):

     symbol krb5int_strlcpy, version krb5support_0_MIT not defined
     in file libkrb5support.so.0 with link time reference

MIT Kerberos 1.9.2 was built as follows
* RHEL 5.7 i686 with RHEL Kerberos installed and needed too
* export LDFLAGS="-Xlinker -rpath -Xlinker /usr/rcf-krb5/lib"
* ./configure --prefix=/usr/rcf-krb5

pam_krb5 4.5 was built as follows:
* RHEL 5.7 i686 (same host) with RHEL Kerberos installed and needed too
* export LDFLAGS="-Xlinker -rpath -Xlinker /usr/rcf-krb5/lib"
* ./configure --with-krb5=/usr/rcf-krb5

Using 'readelf -d' on /usr/rcf-krb5/lib/libkrb5support.so,
/usr/rcf-krb5/lib/libcomm_err.so, and pam_krb5 indicate:

  0x0000000f (RPATH)                      Library rpath: [/usr/rcf-krb5/lib]
  0x0000001d (RUNPATH)                    Library runpath: 
[/usr/rcf-krb5/lib]

A functioning, but not acceptable, solution to the problem,
is 'echo /usr/rcf-krb5/lib > /etc/ld.so.conf.d/krb5.conf;
ldconfig' : pam_krb5 works fine then.

Does anyone have any ideas?


More information about the Kerberos mailing list