Subject: Re: ld: library not found for -lcares

Re: ld: library not found for -lcares

From: Kristin Roher <kristin.roher_at_gmail.com>
Date: Tue, 10 Jan 2012 08:18:28 -0500

libcares.a is located in:

/Users/knr10/Desktop/Bonic_Src/boinc_core_release_6_12_36
(tag)/mac_build/cares/build/Debug-iphonesimulator

Sorry if this is a silly question but how do I add this to the linker as
you said below? Is it some preference in xcode that I need to edit?

Thanks for your time,
Kristin

On Tue, Jan 10, 2012 at 8:04 AM, Wilfried Goesgens <dothebart_at_citadel.org>wrote:

> Kristin,
>
> you need to find libcares.so or libcares.a in /usr/lib/ or any other path
> you specified like this:
>
> -L /usr/local/lib
>
> to the linker.
>
> Tue Jan 10 2012 07:01:32 EST from "Kristin Roher" <kristin.roher_at_gmail.com>
> Subject: ld: library not found for -lcares
> I am working on trying to build a project that uses c-ares. However, I am
> currently getting this error:
>
> ld: library not found for -lcares
>
> Any insight as to what this means and/or how to fix it would be
> appreciated.
>
> Kristin
>
> Wilfried Goesgens
>
Received on 2012-01-10