cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Error when compiling

From: Jorge F. Hernandez <jfha73_at_gmail.com>
Date: Fri, 06 Feb 2015 16:58:58 -0500

On 2/6/2015 4:54 PM, Dan Fandrich wrote:
> 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

Yes, I didn't notice that I had a previous version installed too, once
removed I was able to install cURL

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