http://bugs.winehq.org/show_bug.cgi?id=13704
--- Comment #5 from Rion rion@plotinka.ru 2008-06-05 14:03:29 --- i'm using gentoo linux
official openldap ebuild doesn't provide ability to compile --with-threads at all. and since i use unofficial wine ebuild (official one is very buggy) i can post bug report about openldap and threads only if its needed for something else besides wine. Official ebuild has ugly hacks which simply put test results to cache..
# ldd /usr/lib/libldap_r.so linux-gate.so.1 => (0xb80c8000) liblber-2.3.so.0 => /usr/lib/liblber-2.3.so.0 (0xb805d000) libresolv.so.2 => /lib/libresolv.so.2 (0xb8049000) libsasl2.so.2 => /usr/lib/libsasl2.so.2 (0xb8032000) libssl.so.0.9.8 => /usr/lib/libssl.so.0.9.8 (0xb7fee000) libcrypto.so.0.9.8 => /usr/lib/libcrypto.so.0.9.8 (0xb7eb5000) libc.so.6 => /lib/libc.so.6 (0xb7d5d000) libdl.so.2 => /lib/libdl.so.2 (0xb7d59000) libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7d27000) libkrb5.so.3 => /usr/lib/libkrb5.so.3 (0xb7c9e000) libk5crypto.so.3 => /usr/lib/libk5crypto.so.3 (0xb7c7a000) /lib/ld-linux.so.2 (0xb80c9000) libcom_err.so.2 => /lib/libcom_err.so.2 (0xb7c75000) libkrb5support.so.0 => /usr/lib/libkrb5support.so.0 (0xb7c6d000)