cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: problem linking with multi interface

From: Daniel Stenberg <daniel_at_haxx.se>
Date: Thu, 20 Mar 2003 10:32:59 +0100 (CET)

On Wed, 19 Mar 2003, Jacob Hallenborg wrote:

> I'm using cURL 7.10.3 on RedHat8 and code using the multi interface causes
> linking errors: undefined reference to `curl_multi_init()'. And there are
> apparently references to the methods i libcurl.a:
>
> nm /usr/local/lib/libcurl.a | grep multi
> multi.o:
> 00000030 T curl_multi_add_handle
> 000005c8 T curl_multi_cleanup
> 0000013c T curl_multi_fdset
> 00000650 T curl_multi_info_read
> 00000000 T curl_multi_init
> 00000204 T curl_multi_perform
> 000000b0 T curl_multi_remove_handle
>
> Does anyone know what's wrong?

... and you're not just trying to link with a libcurl library that is older
and lacks those symbols? Since libcurl comes installed on Redhat by default,
it'll be one sitting in the /usr/lib directory. I don't know which version
though. It does sound as if this is the case.

-- 
 Daniel Stenberg -- curl, cURL, Curl, CURL. Groks URLs.
-------------------------------------------------------
This SF.net email is sponsored by: Tablet PC.  
Does your code think in ink? You could win a Tablet PC. 
Get a free Tablet PC hat just for playing. What are you waiting for? 
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
Received on 2003-03-20