$ ldd libldap.so.2
libresolv.so.2 => /usr/lib/libresolv.so.2
libgen.so.1 => /usr/lib/libgen.so.1
libnsl.so.1 => /usr/lib/libnsl.so.1
libsocket.so.1 => /usr/lib/libsocket.so.1
libdl.so.1 => /usr/lib/libdl.so.1
libssl.so.0.9.6 => /opt/local/lib/libssl.so.0.9.6
libcrypto.so.0.9.6 => /opt/local/lib/libcrypto.so.0.9.6
libc.so.1 => /usr/lib/libc.so.1
libmp.so.2 => /usr/lib/libmp.so.2
/usr/platform/SUNW,Ultra-80/lib/libc_psr.so.1
This libldap was not built correctly. When built correctly it will have its
own dependency on liblber. I suspect you got a static copy of Sun's liblber
in there instead.