cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Question on openldap to curl

From: Michael Wood <esiotrot_at_gmail.com>
Date: Thu, 27 Oct 2011 17:15:16 +0200

Hi

First, please do not top post. See the etiquette page here:
http://curl.haxx.se/mail/etiquette.html

On 26 October 2011 17:14, Kalju Kaik <kalju_at_aticts.com> wrote:
> openldap is loaded, curl and curl devel are loaded, what do I type
> in to complile curl to have ldap as an option. (command line sytax)
>
> Both packages were downloaded and extracted from the rpm files.

I am not sure what you mean by "extracted from the rpm files".

You should start by uninstalling any libcurl or libcurl-devel RPMs.
Then make sure you have the openldap development libraries installed
(probably an RPM called openldap-devel*.rpm). Then download the curl
source code and compile it with something like:

./configure --enable-ldap
make
make install

-- 
Michael Wood <esiotrot_at_gmail.com>
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette:  http://curl.haxx.se/mail/etiquette.html
Received on 2011-10-27