Due to the way libraries are dynamically loaded ldd frequently doesn't
help identifying missing libraries. OTOH if it says there's a problem
there almost certainly is.
Glad you found it.
On Mar 12, 2009, at 7:50 PM, Xu, Qiang (FXSGSC) wrote:
-----Original Message-----
From: Henry B. Hotz [mailto:hotz@xxxxxxxxxxxx]
Sent: Thursday, March 12, 2009 9:22 AM
To: Xu, Qiang (FXSGSC)
Cc: cyrus-sasl@xxxxxxxxxxxxxxxxxxxx
Subject: Re: SASL2 plugin problem
Looks like strace and SystemTap are Linux equivalents.
Try the SASL utility first, but remember that applications
(like LDAP) can override the default plugin directory. If
that happens the system trace capability is your best bet.
Later, it was found the error was due to lacking of two libraries:
==============================================
mbc80:/usr/lib <249> ldd libsasl2.so
linux-gate.so.1 => (0xffffe000)
libresolv.so.2 => /lib/libresolv.so.2 (0xb7ef0000)
libssl.so.0.9.7 => /lib/libssl.so.0.9.7 (0xb7ebe000)
libdl.so.2 => /lib/libdl.so.2 (0xb7eba000)
libmysqlclient.so.15 => not found
libz.so.1 => /usr/lib/libz.so.1 (0xb7ea8000)
libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7e7a000)
libnsl.so.1 => /lib/libnsl.so.1 (0xb7e66000)
libm.so.6 => /lib/libm.so.6 (0xb7e42000)
libpq.so.4 => /usr/lib/libpq.so.4 (0xb7e23000)
libldap-2.3.so.0 => not found
libc.so.6 => /lib/libc.so.6 (0xb7d12000)
libcrypto.so.0.9.7 => /lib/libcrypto.so.0.9.7 (0xb7c0a000)
/lib/ld-linux.so.2 (0x80000000)
libkrb5.so.3 => /lib/libkrb5.so.3 (0xb7b95000)
libpthread.so.0 => /lib/libpthread.so.0 (0xb7b82000)
libk5crypto.so.3 => /lib/libk5crypto.so.3 (0xb7b5d000)
libcom_err.so.3 => /lib/libcom_err.so.3 (0xb7b59000)
libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0xb7b56000)
==============================================
When I put these two libraries (libldap-2.3.so and
libmysqlclient.so) into the printer, the error of "86 Unknown
authentication method" disappears.
Thanks,
Xu Qiang
------------------------------------------------------
The opinions expressed in this message are mine,
not those of Caltech, JPL, NASA, or the US Government.
Henry.B.Hotz@xxxxxxxxxxxx, or hbhotz@xxxxxxx