curl / Mailing Lists / curl-library / Single Mail
Buy commercial curl support from WolfSSL. We help you work out your issues, debug your libcurl applications, use the API, port to new platforms, add new features and more. With a team lead by the curl founder himself.

Re: Problem linking lib-cares

From: Ben Greear via curl-library <curl-library_at_cool.haxx.se>
Date: Sat, 7 Mar 2020 14:39:34 -0800

On 03/07/2020 02:35 PM, Daniel Stenberg wrote:
> On Sat, 7 Mar 2020, Ben Greear via curl-library wrote:
>
>> 21517 LDFLAGS: -L/usr/lib
>
> Usually, when -L/usr/lib appears in LDFLAGS, the reason is that some package that configure picked up has a bad pkg-config that includes that (and config.log can help you figure out which).
>
> I just checked, my standard build on debian unstable does not get that option set when I build with c-ares.

Ok, maybe this is just cruft on old OS. Looks like Fedora 20 fails, but newer things work.

I am just manually coping the latest c-ares libs to /usr/lib/ or /usr/lib64 as the case may be,
and that fixes the compile.

Thanks,
Ben

-- 
Ben Greear <greearb_at_candelatech.com>
Candela Technologies Inc  http://www.candelatech.com
-------------------------------------------------------------------
Unsubscribe: https://cool.haxx.se/list/listinfo/curl-library
Etiquette:   https://curl.haxx.se/mail/etiquette.html
Received on 2020-03-07