Re: Help Needed on LDAP C-SDK

Rich Megginson <[email protected]>
Newsgroups gmane.comp.mozilla.devel.directory
Message-ID <[email protected]>
Saurabh Chopra wrote:
> Hi,
> 
> I am trying to build LDAP c-SDK V 6.0.2, and used pre-built nspr v 6.4.4
> and nss v 3.11.4, available at http://wiki.mozilla.org/LDAP_C_SDK
> <http://wiki.mozilla.org/LDAP_C_SDK>
> 
> I used the commands:
> 
> - $ ./configure --with-nss --with-nspr -enable-clu --with-sasl
> 
> - $ gmake
> 
> 
> 
> and received the following error:
> 
> 
> 
> common.c: In function `ldaptool_process_args':
> 
> common.c:667: error: `ssl_donglefile' undeclared (first use in this
> function)
> 
> common.c:667: error: (Each undeclared identifier is reported only once
> 
> common.c:667: error: for each function it appears in.)
> 
> 
> 
> However, if I don't use the option -enable-clu, the code build is
> successful.

Do you need the command line utilities (clu) like ldapsearch, 
ldapmodify, etc.?  If not, then omit --enable-clu.

This is a bug in common.c - we should not reference the symbol 
ssl_donglefile if not using --with-svrcore.

Alternately, you can build and use svrcore - 
http://lxr.mozilla.org/security/source/security/svrcore/

> 
> 
> 
> Also, I need to use libdigestmd5.so and libsasl.so for my application.
> Where do I get these from, as these are not shipped along with the nspr
> and nss available at the above mentioned site? Please help.

What platform (OS, architecture, OS version) are you running?

> 
> 
> 
> Thanks
> 
> Saurabh
> 
> 
> 
> **************** CAUTION - Disclaimer *****************
> This e-mail contains PRIVILEGED AND CONFIDENTIAL INFORMATION intended solely for the use of the addressee(s). If you are not the intended recipient, please notify the sender by e-mail and delete the original message. Further, you are not to copy, disclose, or distribute this e-mail or its contents to any other person and any such actions are unlawful. This e-mail may contain viruses. Infosys has taken every reasonable precaution to minimize this risk, but is not liable for any damage you may sustain as a result of any virus in this e-mail. You should carry out your own virus checks before opening the e-mail or attachment. Infosys reserves the right to monitor and review the content of all messages sent to or from this e-mail address. Messages sent to or from this e-mail address may be stored on the Infosys e-mail system.
> ***INFOSYS******** End of Disclaimer ********INFOSYS***
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.