cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Symbols not found error in Xcode

From: Michael Wood <esiotrot_at_gmail.com>
Date: Wed, 3 Jun 2009 09:14:07 +0200

On Wed, Jun 3, 2009 at 8:42 AM, Kushan Thakkar <kthakk4_at_gmail.com> wrote:
[...]
> When I run this code, I get the following four errors:
>
>   "_curl_easy_perform", referenced from:
>       _main in main.o
>   "_curl_easy_setopt", referenced from:
>       _main in main.o
>   "_curl_easy_cleanup", referenced from:
>       _main in main.o
>   "_curl_easy_init", referenced from:
>       _main in main.o
> ld: symbol(s) not found
> collect2: ld returned 1 exit status

Xcode doesn't know what library to link with. You will need to tell
it to link with libcurl. Not sure exactly how you do that, though.

-- 
Michael Wood <esiotrot_at_gmail.com>
Received on 2009-06-03