cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Problem when cross compile libcurl(7.21.4) from source on mac

From: 陈天舟 <tianzhouchen_at_gmail.com>
Date: Mon, 4 Apr 2011 10:33:01 -0700

Hi Daniel,

    Thanks for your advice! After looking at the config.log, I figure out
that I passed LDFLAGS="-Wl,-syslibroot,$SDK $ARCHES $MINVER
-Wl,-headerpad_max_install_names, -lldap". The -lldap makes gcc report can't
find file error.
    When I built the static libcurl and include in the project, I got the
link error on ldap routine, so I thought I need to add -lldap. Now it looks
like it's not the right way. Do you have idea on how to build it in the
right way with ldap support?

Thanks
Ryan

在 2011年4月3日 上午5:33,Daniel Stenberg <daniel_at_haxx.se>写道:

> On Sat, 2 Apr 2011, 陈天舟 wrote:
>
> See `config.log' for more details
>>
>
> This is truly your best lead. The config.log file will contain a detailed
> description of what the script tried to do and what the result was. Based on
> that, you might get some clues on what to adjust to proceed.
>
> If not, consider showing us the part of the config.log that includes that
> error and we might be able to offer some ideas.
>
> --
>
> / daniel.haxx.se
> -------------------------------------------------------------------
> List admin: http://cool.haxx.se/list/listinfo/curl-library
> Etiquette: http://curl.haxx.se/mail/etiquette.html
>

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