Re: LDAP C SDK: Problems running NS LDAP 606 apps on Win2k8
Mark Banner <[email protected]> Tue, 20 Dec 2011 09:27:29 +0000
| Newsgroups | gmane.comp.mozilla.devel.directory |
|---|---|
| Message-ID | <[email protected]> |
On 20/12/2011 02:51, Kartik wrote: > 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. The documentation is a bit out of date but the news at the top of the page isn't. You want to be fetching the source from Mercurial: http://hg.mozilla.org/projects/ldap-sdks/ (or downloading the source tarball) > 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. I don't think this has anything to do with the LDAP c-sdk. > 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? Search the web for the command line options (I can't remember them atm) and then look at what is being used by default probably in configure.in. Note you are allowed to ship the runtime libraries, so that may be the better option here (and allows them to be updated for security issues later). > 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? Try the latest source from Mercurial, there's been various changes since 6.0.6. Standard8