version krb5support_0_MIT not defined

Jeff Blaine jblaine at kickflop.net
Tue Feb 7 11:07:30 EST 2012


I'm still completely stumped by this in case anyone
has any suggestions.  I cannot make any sense of it
and have tried everything I know:

     /usr/rcf-krb5/lib/libcom_err.so.3: symbol krb5int_strlcpy,
     version krb5support_0_MIT not defined in file
     libkrb5support.so.0 with link time reference

/usr/rcf-krb5/lib/libcom_err.so.3 (1.9.2) is finding
/usr/lib/libkrb5support.so.0 (MIT 1.6.3, which we need
to stay there) for no good reason I understand.

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]

On 2/1/2012 5:58 PM, Jeff Blaine wrote:
> 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?
> ________________________________________________
> Kerberos mailing list           Kerberos at mit.edu
> https://mailman.mit.edu/mailman/listinfo/kerberos
>


More information about the Kerberos mailing list