cURL / Mailing Lists / curl-library / Single Mail

curl-library

Multithreaded problems on AIX

From: Andrei Tarassov <andrei.tarassov_at_altiris.ee>
Date: Fri, 6 Aug 2004 13:33:45 +0300

Hi!

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

When curl 7.12 is built with SSL support the multithread.c example does
not work correctly always returning CURLE_COULDNT_CONNECT from the
curl_easy_perform() function. However, once I remove support for SSL,
everything goes fine. Applications without threads work fine with SSL
support enabled.

I tried to set the library search path to /usr/lib/threads and link with
libc_r.a, but this did not help. From previous discussions on the list,
I understood that I should use cc_r for compilation, but unfortunately
that's not possible as we are using gcc.

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

Some details:

AIX - 4.3.3
Gcc - 3.3.2
Openssl - 0.9.7d (did not manage to compile it thread-safe as configure
always complains about such attempts).
Openssl - 0.9.7d (some legacy openssl - I am not aware how it was
compiled)

Thanks,

        Andrei Tarassov
        software engineer
        altiris, inc.
        T > +372- 6507154
        M > +372-53-403298
        www.altiris.com
Received on 2004-08-06