cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Error when compiling

From: Dan Fandrich <dan_at_coneharvesters.com>
Date: Fri, 6 Feb 2015 22:54:44 +0100

On Fri, Feb 06, 2015 at 01:12:51PM -0500, Jorge Hernandez wrote:
> Hey guys,
>
> What can cause this and how can I fix it, I can see they are all
> related to OpenLDAP, which I have version 2.4.40 of:
>
> =====
> ../lib/.libs/libcurl.so: undefined reference to `ldap_msgtype_at_OPENLDAP_2.4_2'
> ../lib/.libs/libcurl.so: undefined reference to `ber_free_at_OPENLDAP_2.4_2'
> ../lib/.libs/libcurl.so: undefined reference to `ldap_init_fd_at_OPENLDAP_2.4_2'

There's likely a mismatch between the OpenLDAP development files and
libraries on your system. Check if the header files and library versions
match, and that there isn't another version lying around somewhere (like
/usr/local) that curl's using.

>>> Dan
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-02-06