cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Curl, OpenLDAP and Linux

From: Jakub Zakrzewski <jzakrzewski_at_e2e.ch>
Date: Fri, 12 Sep 2014 14:46:26 +0000

> My understanding is that the libcurl build is pulling in the system OpenLDAP rather than our build of OpenLDAP.
>
> As such is there a way of specifying to curl when we build it, where to pick up our OpenLDAP build from?
>
> For example:
>
> --with-ldap seems like it should do the trick but doesn’t this just specify the library filename to use rather than the full path and library like the –with-ssl > flag does?
>
> If not, can this be extended to do the same?
>
> Many thanks in advance.


Hi,

I had some success using:

  --with-ldap-lib=libname Specify name of ldap lib file
  --with-lber-lib=libname Specify name of lber lib file

(check ./configure --help)

and having path to OpenLDAP headers in CFLAGS


--
Gruesse,
Jakub



-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2014-09-12