cURL / Mailing Lists / curl-library / Single Mail

curl-library

RE: Multithreaded problems on AIX

From: Andrei Tarassov <andrei.tarassov_at_altiris.ee>
Date: Mon, 9 Aug 2004 10:34:27 +0300

-----Original Message-----
From: curl-library-bounces_at_cool.haxx.se
[mailto:curl-library-bounces_at_cool.haxx.se] On Behalf Of Daniel Stenberg
Sent: Friday, August 06, 2004 20:38
To: libcurl development
Subject: Re: Multithreaded problems on AIX

On Fri, 6 Aug 2004, Andrei Tarassov wrote:

> I am upgrading curl from 7.10.7 to 7.12.0 and experiencing problems on
AIX.

Are you saying that it worked better with the previous version?

No. If I compile the older version manually, it does not work either.
Seems that the working version was built with the native compiler. It
looks like a problem with how gcc compiles/links.

> Has anyone encountered the same problem and managed to solve it?

Have you set the OpenSSL callbacks? See:

 
http://curl.haxx.se/libcurl/c/libcurl-tutorial.html#Multi-threading

Is this necessary even if I do not use SSL connections? I use the
libcurl example (multithread.c), which does not connect to any HTTPS or
FTPS sites. It looks like just linking with OpenSSL breaks everything,
but I can't understand how and why.

-- 
      Daniel Stenberg -- http://curl.haxx.se -- http://daniel.haxx.se
       Dedicated custom curl help for hire: http://haxx.se/curl.html
Received on 2004-08-09