Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

LDAP C SDK: Problems running NS LDAP 606 apps on Win2k8

25 views
Skip to first unread message
Message has been deleted

Kartik

unread,
Dec 19, 2011, 9:51:53 PM12/19/11
to
Hello,

On fetching the source from CVS and compiling on a WinXP/VS2005 SP1
box per instructions from https://wiki.mozilla.org/LDAP_C_SDK I have
seen several issues pertaining to side by side assemblies esp for VC
run-time libraries when executing simple applications on Windows 2008.

When trying to apply best guess MS patches (like MS 11-025) it says
these patches are not applicable to Windows 2008 and therefore do not
install.

1. How do I get VC runtime libraries to be statically linked to the
binaries from NS LDAP SDK (I have version 6.0.6 source) and NSS/NSPR?
2. The 606 source code always seems to give out debug binaries - How
do I get release mode binaries? Will that help resolve SxS problems?
3. Has anyone seen issues when running LDAP C SDK applications on
Windows 2008? If so, have you managed to solve the issues? If so, can
you suggest how?

Thanks in anticipation.

Regards,

K

Kartik

unread,
Dec 20, 2011, 6:26:21 AM12/20/11
to
Hello,

I have managed to get beyond the side-by-side assemblies issue by using BUILD_OPT=1 when building NSS.

While the crash does not occur anymore - the NS LDAP SDK still does not work on Windows 2008 saying ldapssl_init() failed with return code -1 (Unknown error)

Looking at the traces on the server side, it looks like there is no socket communication happening and the API call fails even before any communication takes place

Any insight on why this might be the case?

Regards,

K
0 new messages